We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a05686 commit c2826c6Copy full SHA for c2826c6
1 file changed
wfcommons/wfbench/translator/templates/swift_t_templates/workflow.swift
@@ -9,7 +9,12 @@ global const string flowcept_start =
9
workflow_id = "%s"
10
from flowcept.flowcept_api.flowcept_controller import Flowcept
11
flowcept_agent = Flowcept(workflow_id=workflow_id, workflow_name="%s", bundle_exec_id=workflow_id)
12
-flowcept_agent.start()
+
13
+try:
14
+ flowcept_agent.start()
15
+except Exception:
16
+ import traceback
17
+ traceback.print_exc()
18
""";
19
20
string command =
@@ -183,6 +188,7 @@ logging.info(f"Benchmark {task_name} completed!")
183
188
if 'workflow_id':
184
189
fc_task.end()
185
190
fc.stop()
191
+ time.sleep(1)
186
192
187
193
194
# Generated code goes here
0 commit comments