Server error emails - send elsewhere?

11 views
Skip to first unread message

Gady

unread,
Nov 16, 2020, 11:31:05 AM11/16/20
to Django users
Django makes it really easy to set up server error reports that are sent to email. It will notify the email addresses specified in the ADMINS setting "whenever your code raises an unhandled exception and results in an internal server error (strictly speaking, for any response with an HTTP status code of 500 or greater)".

Is it possible to easily send these server error reports somewhere other than email, like another type of handler for example? I basically want to send those exact same errors to something like Bugsnag instead of getting emailed out.

I have tried the django.requests logger, but it didn't include all 5XX errors.
Do I also need to use the django.server logger to handle the same errors as the built-in server error report?

Any insight here is much appreciated!

Gady
Reply all
Reply to author
Forward
0 new messages