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 is open source, so you can also set up a self-hosted instance:

Self-Hosted Sentry

Once you are logged in, click “Create New Project”. The platform choice doesn’t really matter here, but you can choose “Rails”:

Screenshot 2025-02-08 at 11.26.05 AM.png

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

Screenshot 2025-02-08 at 11.26.44 AM.png

Copy this “DSN” string:

image.png