Skip to content

Commit 7f8458f

Browse files
committed
refactor(sentry): update SentryManager initialization documentation
- Revised the SentryManager's __init__ method docstring to clarify that it serves as a wrapper for the Sentry SDK initialization. - Removed the logger debug statement to streamline the initialization process.
1 parent f381fcf commit 7f8458f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/tux/services/sentry/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import sentry_sdk
2323
from discord import Interaction
2424
from discord.ext import commands
25-
from loguru import logger
2625

2726
from .config import flush, flush_async, is_initialized, report_signal, setup
2827
from .context import (
@@ -132,8 +131,7 @@ class SentryManager:
132131
"""
133132

134133
def __init__(self) -> None:
135-
"""Initialize the SentryManager."""
136-
logger.debug("SentryManager initialized")
134+
"""Initialize the SentryManager (wrapper only; Sentry SDK is initialized via setup())."""
137135

138136
@staticmethod
139137
def setup() -> None:

0 commit comments

Comments
 (0)