Comment on page
Error Monitoring
Automatically monitor errors in Django applications
By default Inspector catch and report all unhandled errors.
In any case you may be interested to track handled errors too to better understand the application behaviour.
Inspector allows you to report exceptions for monitoring and alerting pourpose:
try:
// Your code here...
raise ValueError('Test Error')
except Exception as e:
request.inspector.report_exception(e)
If something goes wrong in your code you will be alerted in real time in your inbox and the exception will be monitored for all subsequent occurrences.

Last modified 8mo ago