Skip to content

Commit 99d1e88

Browse files
lrafeeihmstepanek
andauthored
Apply suggestions from code review
Co-authored-by: Hannah Stepanek <[email protected]>
1 parent 024c47a commit 99d1e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newrelic/api/opentelemetry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def record_exception(self, exception, attributes=None, timestamp=None, escaped=F
284284
# `escaped` indicates whether the exception has not
285285
# been unhandled by the time the span has ended.
286286
if attributes:
287-
attributes.update({"exception.escaped": escaped})
287+
attributes["exception.escaped"] = escaped
288288
else:
289289
attributes = {"exception.escaped": escaped}
290290

0 commit comments

Comments
 (0)