We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a4a8e3 commit fc00625Copy full SHA for fc00625
ManagementService/python/getWorkflows.py
@@ -138,9 +138,9 @@ def handle(value, sapi):
138
try:
139
workflows = sapi.get(email + "_list_workflows", True)
140
if workflows is None or workflows == "":
141
- raise Exception("Couldn't retrieve workflow status; no such workflow.")
142
-
143
- workflows = json.loads(workflows)
+ workflows = {}
+ else:
+ workflows = json.loads(workflows)
144
145
# get single workflow status
146
if "workflow" in data and "id" in data["workflow"]:
0 commit comments