We recommend signing up for a Sentry account and configuring DocSpring to send error reports.
Sentry can be configured using two optional environment variables:
SENTRY_DSN : For backend errors (from Ruby on Rails)SENTRY_JS_DSN : For frontend errors (from JavaScript in the browser)Sentry is open source, so you can also set up a self-hosted instance:
Once you are logged in, click “Create New Project”. The platform choice doesn’t really matter here, but you can choose “Rails”:

Give your project a name, then click “Create Project”:

Copy this “DSN” string:

SENTRY_DSN environment variable to this DSN string.SENTRY_JS_DSN
SENTRY_DSN if you want to use a single Sentry project to track both backend and frontend errorsSENTRY_JS_DSNSENTRY_JS_DSN to ignore frontend errors