2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 18:15:40 +00:00

sentry.io improvements (#4712)

* Write function to catch sentry.io events before sending

- Will let us ignore certain types of errors which we are not interested in

* Cleanup

* Include release info

* Allow sentry reporting in debug mode

* Consolidate DRF sentry code into InvenTree/sentry.py

* Add more error types to ignore

* update docs
This commit is contained in:
Oliver
2023-04-28 06:54:31 +10:00
committed by GitHub
parent 8d28fc06be
commit f6021c4749
4 changed files with 88 additions and 28 deletions

View File

@ -27,3 +27,7 @@ A list of error logs is presented.
## Reporting Errors
Errors should be reported to the [InvenTree GitHub page](https://github.com/inventree/inventree/issues), and include the full error output as recorded to the error log.
### Sentry Integration
If [sentry.io integration](../start/config.md#sentry-integration) is enabled, some error logs are automatically reported to sentry.io