We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 208cf35 commit 6df89eeCopy full SHA for 6df89ee
1 file changed
sentry_sdk/integrations/chalice.py
@@ -103,7 +103,7 @@ def wrapped_view_function(**function_args: "Any") -> "Any":
103
if has_span_streaming_enabled(client.options):
104
aws_context = app.lambda_context
105
request_dict = app.current_request.to_dict()
106
- headers = request_dict.get("headers", {}) or {}
+ headers = request_dict.get("headers", {})
107
108
header_attrs: "Dict[str, Any]" = {}
109
for header, value in _filter_headers(
0 commit comments