Skip to content

Commit 47ef906

Browse files
committed
import
1 parent 05618a3 commit 47ef906

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sentry_sdk/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
ClientConstructor,
3838
)
3939
from sentry_sdk.integrations import _DEFAULT_INTEGRATIONS, setup_integrations
40+
from sentry_sdk.integrations.dedupe import DedupeIntegration
4041
from sentry_sdk.sessions import SessionFlusher
4142
from sentry_sdk.envelope import Envelope
4243
from sentry_sdk.profiler.continuous_profiler import setup_continuous_profiler
@@ -606,8 +607,8 @@ def _prepare_event(
606607
self.transport.record_lost_event(
607608
"before_send", data_category="error"
608609
)
609-
from sentry_sdk.integrations.dedupe import DedupeIntegration
610610

611+
# XXX: Should only reset if this is an exception
611612
DedupeIntegration.reset_last_seen()
612613

613614
event = new_event

0 commit comments

Comments
 (0)