Skip to content

Commit ceaa06c

Browse files
fix(sentry): clarified bot disconnection message
1 parent f57a23f commit ceaa06c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tux/bot.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ async def on_disconnect(self) -> None:
206206
with sentry_sdk.push_scope() as scope:
207207
scope.set_tag("event_type", "disconnect")
208208
scope.set_level("info")
209-
sentry_sdk.capture_message("Bot disconnected from Discord")
209+
sentry_sdk.capture_message(
210+
"Bot disconnected from Discord, this happens sometimes and is fine as long as it's not hapening too often"
211+
)
210212

211213
# --- Sentry Transaction Tracking ---
212214

0 commit comments

Comments
 (0)