File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,14 @@ The `TaskFailureContext` currently have these members:
2626* task_name: activity or workflow name
2727* exception_class: ` TaskException ` or ` WorkflowException `
2828* exception: raised exception (shortcut to future.exception); None for unfinished tasks
29+
30+ For a TaskFailed exception:
31+ * reason: ` TaskFailed.reason `
32+ * details: ` TaskFailed.details ` dict
33+ * task_error: name of the inner exception
34+ * task_error_type: class of the inner exception
35+ * task_message: exception message
2936* retry_count: current retry count (0 for first retry)
30- * task_error: for a TaskFailed exception, name of the inner exception if available
31- * reason: ` TaskFailed.reason ` or ` str(exception) `
32- * details: ` TaskFailed.details ` or None
3337* future: failed future
3438* event: quite opaque dict, experimental
3539* history: History object, experimental
You can’t perform that action at this time.
0 commit comments