From 52455f149e3585e4b37d39eaa92c66ba470fa286 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Mon, 26 Sep 2022 15:00:30 +0200 Subject: [PATCH] Removed debug commands --- sentry_sdk/client.py | 3 --- sentry_sdk/integrations/logging.py | 3 --- sentry_sdk/utils.py | 4 ---- 3 files changed, 10 deletions(-) diff --git a/sentry_sdk/client.py b/sentry_sdk/client.py index 1b0b2f356d..a0b0bc233f 100644 --- a/sentry_sdk/client.py +++ b/sentry_sdk/client.py @@ -177,9 +177,6 @@ def _prepare_event( and "threads" not in event ): with capture_internal_exceptions(): - import ipdb - - ipdb.set_trace() event["threads"] = { "values": [ { diff --git a/sentry_sdk/integrations/logging.py b/sentry_sdk/integrations/logging.py index 16a0af0e24..86cea09bd8 100644 --- a/sentry_sdk/integrations/logging.py +++ b/sentry_sdk/integrations/logging.py @@ -215,9 +215,6 @@ def _emit(self, record): event = {} hint = {} with capture_internal_exceptions(): - import ipdb - - ipdb.set_trace() event["threads"] = { "values": [ { diff --git a/sentry_sdk/utils.py b/sentry_sdk/utils.py index 564471f740..3279b3f2bd 100644 --- a/sentry_sdk/utils.py +++ b/sentry_sdk/utils.py @@ -514,10 +514,6 @@ def current_stacktrace(with_locals=True): __tracebackhide__ = True frames = [] - import ipdb - - ipdb.set_trace() - f = sys._getframe() # type: Optional[FrameType] while f is not None: if not should_hide_frame(f):