mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
* Initial commit * Fix sentry * Make cog manager install path work relative to the bot's dir * Fix downloader to save data relative to the defined data folder * Fix sentry test * Fix downloader tests * Change logfile location * Add another line to codeowners * Basic tests * Fix versioning * Add in FutureWarning for config file changes * Add reference to issue
11 lines
281 B
Python
11 lines
281 B
Python
from core import sentry_setup
|
|
import logging
|
|
|
|
|
|
def test_sentry_capture(red):
|
|
log = logging.getLogger(__name__)
|
|
sentry_setup.init_sentry_logging(red, log)
|
|
|
|
assert sentry_setup.client is not None
|
|
|
|
sentry_setup.client.captureMessage("Message from test_sentry module.") |