Automated Error Handling¶
Thumbor must support this type of error handling in order to better integrate itself to it’s users environments.
Enabling Custom Error Handling¶
Enabling it is as simple as setting the configuration
After that you need to set the custom error handler you want to use with
ERROR_HANDLER_MODULE configuration. Please note that this is the
module full name, not the class full name.
Thumbor comes pre-packaged with sentry’s custom error handler:
thumbor.error_handlers.sentry. If you decide to use it, please read
below on how to configure it.
Sentry - thumbor.error_handlers.sentry¶
If you choose to use sentry custom error handler, all you need to do is
SENTRY_DSN_URL configuration with sentry’s DSN URL, which
can be found in the admin page for your sentry project, like the one in
the image below: