Skip to content

Commit

Permalink
Fix logging of error on activation failure (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
osobo authored Sep 28, 2023
1 parent 3fade95 commit d5edb71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion temporalio/worker/_workflow_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def activate(
if activation_err:
logger.warning(
f"Failed activation on workflow {self._info.workflow_type} with ID {self._info.workflow_id} and run ID {self._info.run_id}",
exc_info=True,
exc_info=activation_err,
)
# Set completion failure
self._current_completion.failed.failure.SetInParent()
Expand Down

0 comments on commit d5edb71

Please sign in to comment.