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 74d9181 commit efa6321Copy full SHA for efa6321
azure/durable_functions/models/TaskOrchestrationExecutor.py
@@ -286,12 +286,18 @@ def get_orchestrator_state_str(self) -> str:
286
self.output = None
287
self.exception = e
288
289
+ exception_str = None
290
+ if self.exception is not None:
291
+ exception_str = str(self.exception)
292
+ if not exception_str:
293
+ exception_str = str(type(self.exception))
294
+
295
state = OrchestratorState(
296
is_done=self.orchestration_invocation_succeeded,
297
actions=self.context._actions,
298
output=self.output,
299
replay_schema=self.context._replay_schema,
- error=None if self.exception is None else str(self.exception),
300
+ error=exception_str,
301
custom_status=self.context.custom_status
302
)
303
0 commit comments