About Testing Sentry Integration

You can test if your Sentry integration works by running this in Django shell:

1
2
>>> from sentry_sdk import capture_message
>>> capture_message("Hello, World!")

Tips and Tricks Programming Logging Django 4.2 Django 3.2 Django 2.2 Sentry