diff options
| author | 2020-06-06 14:42:30 +0200 | |
|---|---|---|
| committer | 2020-06-06 14:42:30 +0200 | |
| commit | dc0310a306c600ec62e208be40f08b4a142daa8f (patch) | |
| tree | efb3fcd0c52d183be135cf20921c1fc166f5f20a | |
| parent | Merge branch 'master' into help_channel_rediscache (diff) | |
| parent | Enable the 'redis' / 'aiohttp' Sentry integrations (diff) | |
Merge branch 'master' into help_channel_rediscache
| -rw-r--r-- | bot/__main__.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bot/__main__.py b/bot/__main__.py index aa1d1aee8..4e0d4a111 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -3,7 +3,9 @@ import logging import discord import sentry_sdk from discord.ext.commands import when_mentioned_or +from sentry_sdk.integrations.aiohttp import AioHttpIntegration from sentry_sdk.integrations.logging import LoggingIntegration +from sentry_sdk.integrations.redis import RedisIntegration from bot import constants, patches from bot.bot import Bot @@ -15,7 +17,11 @@ sentry_logging = LoggingIntegration( sentry_sdk.init( dsn=constants.Bot.sentry_dsn, - integrations=[sentry_logging] + integrations=[ + sentry_logging, + AioHttpIntegration(), + RedisIntegration(), + ] ) bot = Bot( |