Skip to content

Commit f44f690

Browse files
committed
fix(transport): Fix asyncio integration check for transport
GH-4601
1 parent 5f7af94 commit f44f690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ def make_transport(options: Dict[str, Any]) -> Optional[Transport]:
10491049
use_async_transport = options.get("_experiments", {}).get("transport_async", False)
10501050
async_integration = any(
10511051
integration.__class__.__name__ == "AsyncioIntegration"
1052-
for integration in options.get("integrations", [])
1052+
for integration in options.get("integrations") or []
10531053
)
10541054

10551055
# By default, we use the http transport class

0 commit comments

Comments
 (0)