Changed app sdk order for apps
This commit is contained in:
@@ -1107,8 +1107,8 @@ class AppBase:
|
|||||||
else:
|
else:
|
||||||
raise Exception(json.dumps({
|
raise Exception(json.dumps({
|
||||||
"success": False,
|
"success": False,
|
||||||
"reason": "You may be running an old version of this action. Please delete and remake the node.",
|
|
||||||
"exception": f"TypeError: {e}",
|
"exception": f"TypeError: {e}",
|
||||||
|
"reason": "You may be running an old version of this action. Please delete and remake the node.",
|
||||||
}))
|
}))
|
||||||
break
|
break
|
||||||
|
|
||||||
@@ -3381,8 +3381,8 @@ class AppBase:
|
|||||||
if check:
|
if check:
|
||||||
raise Exception(json.dumps({
|
raise Exception(json.dumps({
|
||||||
"success": False,
|
"success": False,
|
||||||
"reason": "Parameter {parameter} has an issue",
|
|
||||||
"exception": f"Value Error: {check}",
|
"exception": f"Value Error: {check}",
|
||||||
|
"reason": "Parameter {parameter} has an issue",
|
||||||
}))
|
}))
|
||||||
|
|
||||||
#if parameter["name"] == "body":
|
#if parameter["name"] == "body":
|
||||||
@@ -3791,8 +3791,8 @@ class AppBase:
|
|||||||
future.cancel()
|
future.cancel()
|
||||||
newres = json.dumps({
|
newres = json.dumps({
|
||||||
"success": False,
|
"success": False,
|
||||||
"reason": "Timeout error within %d seconds (1). This happens if we can't reach or use the API you're trying to use within the time limit. Configure SHUFFLE_APP_SDK_TIMEOUT=100 in Orborus to increase it to 100 seconds. Not changeable for cloud." % timeout,
|
|
||||||
"exception": str(e),
|
"exception": str(e),
|
||||||
|
"reason": "Timeout error within %d seconds (1). This happens if we can't reach or use the API you're trying to use within the time limit. Configure SHUFFLE_APP_SDK_TIMEOUT=100 in Orborus to increase it to 100 seconds. Not changeable for cloud." % timeout,
|
||||||
})
|
})
|
||||||
|
|
||||||
else:
|
else:
|
||||||
@@ -3824,8 +3824,8 @@ class AppBase:
|
|||||||
|
|
||||||
newres = json.dumps({
|
newres = json.dumps({
|
||||||
"success": False,
|
"success": False,
|
||||||
"reason": "An exception occurred while running this function (1). See exception for more details and contact support if this persists (support@shuffler.io)",
|
|
||||||
"exception": f"{type(e).__name__} - {e}",
|
"exception": f"{type(e).__name__} - {e}",
|
||||||
|
"reason": "An exception occurred while running this function (1). See exception for more details and contact support if this persists (support@shuffler.io)",
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
elif "got an unexpected keyword argument" in errorstring:
|
elif "got an unexpected keyword argument" in errorstring:
|
||||||
@@ -3841,8 +3841,8 @@ class AppBase:
|
|||||||
else:
|
else:
|
||||||
newres = json.dumps({
|
newres = json.dumps({
|
||||||
"success": False,
|
"success": False,
|
||||||
"reason": "You may be running an old version of this action. Try remaking the node, then contact us at support@shuffler.io if it doesn't work with all these details.",
|
|
||||||
"exception": f"TypeError: {e}",
|
"exception": f"TypeError: {e}",
|
||||||
|
"reason": "You may be running an old version of this action. Try remaking the node, then contact us at support@shuffler.io if it doesn't work with all these details.",
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
@@ -3855,8 +3855,8 @@ class AppBase:
|
|||||||
|
|
||||||
newres = json.dumps({
|
newres = json.dumps({
|
||||||
"success": False,
|
"success": False,
|
||||||
"reason": "An exception occurred while running this function (2). See exception for more details and contact support if this persists (support@shuffler.io)",
|
|
||||||
"exception": f"{type(e).__name__} - {e}",
|
"exception": f"{type(e).__name__} - {e}",
|
||||||
|
"reason": "An exception occurred while running this function (2). See exception for more details and contact support if this persists (support@shuffler.io)",
|
||||||
|
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user