Error Reporting
Catalyst reports the errors it rescues through Rails.error with source: "catalyst". Inside Catalyst code, report errors with Catalyst.report_error.
Quick exampleβ
Catalyst.report_error(error, **context)
Optionsβ
| Error tracker | Setup |
|---|---|
| Airbrake / Errbit | Nothing to do. When the airbrake gem is loaded, Catalyst forwards its errors to Airbrake.notify. |
| Sentry | Set config.rails.register_error_subscriber = true in your Sentry initializer. It defaults to false, and without it Catalyst's errors are not sent. |