Skip to content

Commit 3d48ace

Browse files
committed
log error
1 parent e9a7fc8 commit 3d48ace

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

temporalio/worker/_workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ def __init__(
138138
else:
139139
unsandboxed_workflow_runner.prepare_workflow(defn)
140140
except Exception as err:
141+
logger.error(f"Error preparing workflow {defn.name}", exc_info=err)
141142
raise RuntimeError(f"Failed validating workflow {defn.name}") from err
142143
if defn.name:
143144
self._workflows[defn.name] = defn

0 commit comments

Comments
 (0)