Skip to main content

Error Reporting

cm-admin reports the errors it rescues through Rails.error with source: "cm_admin". Inside cm-admin code, report errors with CmAdmin.report_error.

Quick example​

CmAdmin.report_error(error, **context)

Options​

Error trackerSetup
Airbrake / ErrbitNothing to do. When the airbrake gem is loaded, cm-admin forwards its errors to Airbrake.notify.
SentrySet config.rails.register_error_subscriber = true in your Sentry initializer. It defaults to false, and without it cm-admin's errors are not sent.