Cleaned up how keys are handled for duplicates and published workflows. Further changes APIs to use the correct one again for OpenAPI loading

This commit is contained in:
frikky
2022-10-27 18:00:04 +02:00
parent 4ca5fcfeb2
commit be0aed82e3
4 changed files with 41 additions and 34 deletions
+2 -2
View File
@@ -3424,7 +3424,7 @@ class AppBase:
errorstring = f"{e}"
if "the JSON object must be" in errorstring:
self.logger.info("[ERROR] Something is wrong with the input for this function. Are lists and JSON data handled parsed properly?")
self.logger.info("[ERROR] Something is wrong with the input for this function. Are lists and JSON data handled parsed properly (0)?")
try:
e = json.loads(f"{e}")
except:
@@ -3454,7 +3454,7 @@ class AppBase:
})
break
except Exception as e:
self.logger.info("[ERROR] Something is wrong with the input for this function. Are lists and JSON data handled parsed properly?")
self.logger.info("[ERROR] Something is wrong with the input for this function. Are lists and JSON data handled parsed properly (1)?")
try:
e = json.loads(f"{e}")