Implement a custom 404 handler to enable Sentry reporting

This commit is contained in:
jeremystretch
2022-05-11 14:27:18 -04:00
parent 2f57e2eac4
commit 02088d742b
3 changed files with 14 additions and 3 deletions

View File

@@ -25,3 +25,5 @@ SENTRY_TAGS = {
```
Once the configuration has been saved, restart the NetBox service.
To test Sentry operation, try generating a 404 (page not found) error by navigating to an invalid URL, such as `https://netbox/404-error-testing`. After receiving a 404 response from the NetBox server, you should see the issue appear shortly in Sentry.