MoreLoudlyFailingTransport: avoid infinite recursion

since logger.error tries to use sentry in typical setups, using that to report
trouble with sentry is not a good idea
This commit is contained in:
Klaas van Schelven
2025-02-17 15:31:04 +01:00
parent fad34de68f
commit ff11b29e1b

View File

@@ -10,4 +10,4 @@ class MoreLoudlyFailingTransport(HttpTransport):
def on_dropped_event(self, reason):
# type: (str) -> None
# ... do you thing ...
logger.error("Sentry SDK dropped event: %s", reason)
print("Sentry SDK dropped event:", reason)