do not set status code
This commit is contained in:
parent
060e4a666f
commit
7f250988c0
1 changed files with 0 additions and 1 deletions
|
@ -20,6 +20,5 @@ def task_status(request, task_id):
|
||||||
response['data'].update({'result': str(res.args[0]),
|
response['data'].update({'result': str(res.args[0]),
|
||||||
'exc': get_full_cls_name(res.__class__),
|
'exc': get_full_cls_name(res.__class__),
|
||||||
'traceback': traceback})
|
'traceback': traceback})
|
||||||
response['status'] = 500
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue