diff options
author | 2020-12-28 21:29:09 -0500 | |
---|---|---|
committer | 2020-12-28 21:29:09 -0500 | |
commit | 88c9175453b5ac7653b9ead817c4d262cdd4cacc (patch) | |
tree | a7f948470a6d404ed1b5afb8b8b46b86804ad0b6 /bot/__main__.py | |
parent | Merge branch 'master' into omdb-to-tmdb (diff) | |
parent | Merge pull request #483 from WillDaSilva/prideavatar-url (diff) |
Merge branch 'master' into omdb-to-tmdb
Diffstat (limited to 'bot/__main__.py')
-rw-r--r-- | bot/__main__.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bot/__main__.py b/bot/__main__.py index cd2d43a9..e9b14a53 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -2,9 +2,10 @@ import logging import sentry_sdk from sentry_sdk.integrations.logging import LoggingIntegration +from sentry_sdk.integrations.redis import RedisIntegration from bot.bot import bot -from bot.constants import Client, STAFF_ROLES, WHITELISTED_CHANNELS +from bot.constants import Client, GIT_SHA, STAFF_ROLES, WHITELISTED_CHANNELS from bot.utils.decorators import in_channel_check from bot.utils.extensions import walk_extensions @@ -16,7 +17,11 @@ sentry_logging = LoggingIntegration( sentry_sdk.init( dsn=Client.sentry_dsn, - integrations=[sentry_logging] + integrations=[ + sentry_logging, + RedisIntegration() + ], + release=f"sir-lancebot@{GIT_SHA}" ) log = logging.getLogger(__name__) |