BUG: Fixed looped error handling in SDK

This commit is contained in:
frikky
2021-01-05 05:36:30 +01:00
parent f73fb1d90a
commit 3149e5e199
3 changed files with 15 additions and 5 deletions
+8 -1
View File
@@ -284,7 +284,14 @@ class AppBase:
try:
tmp = await func(**subparams)
except:
tmp = "An error occured for value %s" % subparams
e = ""
try:
e = sys.exc_info()[1]
except:
print("Exc check fail: %s" % e)
pass
tmp = "An error occured during execution: %s" % e
print("RET from execution: %s" % ret)
new_value = tmp