Skip to content

Commit d5edb71

Browse files
authored
Fix logging of error on activation failure (#389)
1 parent 3fade95 commit d5edb71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

temporalio/worker/_workflow_instance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def activate(
324324
if activation_err:
325325
logger.warning(
326326
f"Failed activation on workflow {self._info.workflow_type} with ID {self._info.workflow_id} and run ID {self._info.run_id}",
327-
exc_info=True,
327+
exc_info=activation_err,
328328
)
329329
# Set completion failure
330330
self._current_completion.failed.failure.SetInParent()

0 commit comments

Comments
 (0)