errors happening during runtime of the registry functions don't crash everything
main / Explore-Gitea-Actions (push) Successful in 7s

This commit is contained in:
2026-07-29 10:27:41 +01:00
parent c74cc51103
commit 05257ab94f
+5 -1
View File
@@ -51,7 +51,11 @@ class CustomStep(StepIF):
prev_step_ctx: Dict[str, Any] = {}
for op in self.__actions:
log: StepLog = timed_run(op, ctx | prev_step_ctx | self.__context, op.__name__)
try:
log: StepLog = timed_run(op, ctx | prev_step_ctx | self.__context, self.name)
except Exception as e:
log: StepLog = StepLog.fail(self.name, [{"status": "failed", "output": str(e)}])
status = Status.BAD if log.failed else Status.GOOD
prev_step_ctx = log.pipe_ctx