fix: error handler does not recover flow anymore and error handler is called only once up the flow

This commit is contained in:
Ruben Fiszel
2023-09-29 00:28:11 +02:00
parent 6d6383e366
commit 445bf965ed
3 changed files with 16 additions and 11 deletions
@@ -1,8 +1,5 @@
export default `import os
# flow is considered recovered and a success unless an exception is raised
def main(message: str, name: str):
flow_id = os.environ.get("WM_FLOW_JOB_ID")
print("message", message)