/ Published in: Django
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import logging from sentry.client.base import SentryClient SentryClient().create_from_text('A nasty error message', level=logging.WARNING, url=None)