mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 09:56:05 -05:00
Sentry error logging (#784)
This commit is contained in:
9
tests/core/test_sentry.py
Normal file
9
tests/core/test_sentry.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from core import sentry_setup
|
||||
|
||||
|
||||
def test_sentry_capture():
|
||||
sentry_setup.init_sentry_logging()
|
||||
|
||||
assert sentry_setup.client is not None
|
||||
|
||||
sentry_setup.client.captureMessage("Message from test_sentry module.")
|
||||
Reference in New Issue
Block a user