aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-20 09:02:16 +0200
committerGravatar ks129 <[email protected]>2020-12-20 09:02:16 +0200
commit4c7ada8ee41f097e2b9b753114fadca28998da88 (patch)
treed08c9247fe173e3300cf1736ae5fcdc21cc383f6
parentAdd constant for Git SHA (diff)
Attach release on Sentry SDK initialization
-rw-r--r--bot/log.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/log.py b/bot/log.py
index 13141de40..bb44cee8a 100644
--- a/bot/log.py
+++ b/bot/log.py
@@ -69,7 +69,8 @@ def setup_sentry() -> None:
sentry_logging,
AioHttpIntegration(),
RedisIntegration(),
- ]
+ ],
+ release=f"bot@{constants.GIT_SHA}"
)