You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the "task_status" view, whenever I try to call this view on a task that has generated an exception, I get a "tuple index out of range" error. Specifically, the errors occurs in the dictionary where it assigns "result": str(res.args[0])
I am not sure what "res.args" is exactly, but replacing that line with 'str(res.args[0] if res.args else "")' allows me to get the exception info as expected.
The text was updated successfully, but these errors were encountered:
In the "task_status" view, whenever I try to call this view on a task that has generated an exception, I get a "tuple index out of range" error. Specifically, the errors occurs in the dictionary where it assigns "result": str(res.args[0])
I am not sure what "res.args" is exactly, but replacing that line with 'str(res.args[0] if res.args else "")' allows me to get the exception info as expected.
The text was updated successfully, but these errors were encountered: