We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b54a5a8 commit 0fa1b47Copy full SHA for 0fa1b47
temporalio/contrib/opentelemetry.py
@@ -194,7 +194,10 @@ def _start_as_current_span(
194
)
195
raise
196
except Exception as exc:
197
- if not isinstance(exc, ApplicationError) or exc.category != ApplicationErrorCategory.BENIGN:
+ if (
198
+ not isinstance(exc, ApplicationError)
199
+ or exc.category != ApplicationErrorCategory.BENIGN
200
+ ):
201
span.set_status(
202
Status(
203
status_code=StatusCode.ERROR,
0 commit comments