Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion sentry_sdk/integrations/dedupe.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sentry_sdk
from sentry_sdk.utils import ContextVar
from sentry_sdk.utils import ContextVar, logger
from sentry_sdk.integrations import Integration
from sentry_sdk.scope import add_global_event_processor

Expand Down Expand Up @@ -37,7 +37,9 @@ def processor(event, hint):

exc = exc_info[1]
if integration._last_seen.get(None) is exc:
logger.info("DedupeIntegration dropped duplicated error event %s", exc)
return None

integration._last_seen.set(exc)
return event

Expand Down