Skip to content

Commit 480c2d7

Browse files
committed
using id()
1 parent b815c2c commit 480c2d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sentry_sdk/integrations/dedupe.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ def processor(event, hint):
6262
if exc_info is None:
6363
return event
6464

65-
event_hash = DedupeIntegration._get_event_hash(event)
66-
if integration._last_seen.get(None) == event_hash:
65+
exc = exc_info[1]
66+
if integration._last_seen.get(None) == id(exc):
6767
return None
6868

69-
integration._last_seen.set(event_hash)
69+
integration._last_seen.set(id(exc))
7070
return event
7171

7272
@staticmethod

0 commit comments

Comments
 (0)