From d5edb71ac25f0d82582ec16f13410b0388addc10 Mon Sep 17 00:00:00 2001 From: osobo Date: Thu, 28 Sep 2023 18:32:17 +0200 Subject: [PATCH] Fix logging of error on activation failure (#389) --- temporalio/worker/_workflow_instance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temporalio/worker/_workflow_instance.py b/temporalio/worker/_workflow_instance.py index 6701718e..d5afece7 100644 --- a/temporalio/worker/_workflow_instance.py +++ b/temporalio/worker/_workflow_instance.py @@ -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()