10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e5749 commit cdee59cCopy full SHA for cdee59c
sentry_sdk/integrations/modules.py
@@ -46,6 +46,11 @@ def setup_once():
46
@add_global_event_processor
47
def processor(event, hint):
48
# type: (Event, Any) -> Dict[str, Any]
49
- if Hub.current.get_integration(ModulesIntegration) is not None:
50
- event["modules"] = dict(_get_installed_modules())
+ if event.get("type") == "transaction":
+ return event
51
+
52
+ if Hub.current.get_integration(ModulesIntegration) is None:
53
54
55
+ event["modules"] = dict(_get_installed_modules())
56
return event
0 commit comments