Skip to content

Commit

Permalink
Debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
schustmi committed Oct 9, 2024
1 parent f08ccb9 commit 037fa1c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/zenml/orchestrators/step_run_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,15 @@ def create_cached_step_runs(
invocation_id
)
request_factory.populate_request(step_run_request)
except Exception:
except Exception as e:
# We failed to create the step run. This might be due to some
# input resolution error, or an error importing the step source
# (there might be some missing dependencies). We just treat the
# step as not cached and let the orchestrator try again in a
# potentially different environment.
logger.debug(
"Failed preparing step run `%s`: %s", invocation_id, str(e)
)
continue

if step_run_request.status != ExecutionStatus.CACHED:
Expand Down

0 comments on commit 037fa1c

Please sign in to comment.