mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 18:06:08 -05:00
[Core] Add Sentry logger for core cogs data gathering only (#813)
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
from core import sentry_setup
|
||||
import logging
|
||||
|
||||
|
||||
def test_sentry_capture():
|
||||
sentry_setup.init_sentry_logging()
|
||||
log = logging.getLogger(__name__)
|
||||
sentry_setup.init_sentry_logging(log)
|
||||
|
||||
assert sentry_setup.client is not None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user