Skip to content

Commit 0fa1b47

Browse files
committed
Formatting
1 parent b54a5a8 commit 0fa1b47

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

temporalio/contrib/opentelemetry.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ def _start_as_current_span(
194194
)
195195
raise
196196
except Exception as exc:
197-
if not isinstance(exc, ApplicationError) or exc.category != ApplicationErrorCategory.BENIGN:
197+
if (
198+
not isinstance(exc, ApplicationError)
199+
or exc.category != ApplicationErrorCategory.BENIGN
200+
):
198201
span.set_status(
199202
Status(
200203
status_code=StatusCode.ERROR,

0 commit comments

Comments
 (0)