Skip to content

Commit

Permalink
fix(aiohttp): Handle explicitly passing None for trace_configs (getse…
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Jul 5, 2023
1 parent d0f8d98 commit a7b3136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry_sdk/integrations/aiohttp.py
Expand Up @@ -183,7 +183,7 @@ def init(*args, **kwargs):
if hub.get_integration(AioHttpIntegration) is None:
return old_client_session_init(*args, **kwargs)

client_trace_configs = list(kwargs.get("trace_configs", ()))
client_trace_configs = list(kwargs.get("trace_configs") or ())
trace_config = create_trace_config()
client_trace_configs.append(trace_config)

Expand Down

0 comments on commit a7b3136

Please sign in to comment.