aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-06-06 14:42:30 +0200
committerGravatar GitHub <[email protected]>2020-06-06 14:42:30 +0200
commitdc0310a306c600ec62e208be40f08b4a142daa8f (patch)
treeefb3fcd0c52d183be135cf20921c1fc166f5f20a
parentMerge branch 'master' into help_channel_rediscache (diff)
parentEnable the 'redis' / 'aiohttp' Sentry integrations (diff)
Merge branch 'master' into help_channel_rediscache
-rw-r--r--bot/__main__.py8
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(