Error monitoring
Monitoring is handled via Sentry (opens in a new tab). Sentry has a generous free trial and a cheap paid offer if you need features from the next tier up. Error monitoring is not required for the app to work, but once your app has users you'll need a way to know that they aren't encountering tons of bugs and Sentry is the easiest way to do this.
The SentrySDK runs on both client-side and server-side code, both set up with the Sentry.init({})
calls you see in the app, which will automatically capture any errors during runtime. In addition to this, you can manually capture exceptions using Sentry.captureException({})
. There's a helper method for this in app/lib/observability.ts
.