diff --git a/pandora/archive/views.py b/pandora/archive/views.py index 91f700a2..62731fc8 100644 --- a/pandora/archive/views.py +++ b/pandora/archive/views.py @@ -403,8 +403,8 @@ def getTaskStatus(request, data): response['data'].update(res) else: response['data']['result'] = res - if status in default_backend.EXCEPTION_STATES: - traceback = default_backend.get_traceback(task_id) + if status in backend.EXCEPTION_STATES: + traceback = backend.get_traceback(task_id) response['data'].update({ 'result': str(res), 'exc': get_full_cls_name(res.__class__),