Fixed workflow variable deletion and control without state updates (speed)

This commit is contained in:
frikky
2022-01-14 23:10:03 +01:00
parent 59d90d1c28
commit e77bcac26f
8 changed files with 467 additions and 379 deletions
+5 -1
View File
@@ -2995,7 +2995,11 @@ class AppBase:
self.logger.info(f"Failed to execute: {e}")
self.logger.exception(f"Failed to execute {e}-{action['id']}")
self.action_result["status"] = "FAILURE"
self.action_result["result"] = f"General exception: {e}"
#self.action_result["result"] = f"General exception: {e}"
self.action_result["result"] = json.dumps({
"success": False,
"reason": f"General exception: {e}",
})
self.action_result["completed_at"] = int(time.time())