Skip to content

Commit

Permalink
remove unnecessary details of unknown states
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarWKH committed Mar 25, 2021
1 parent eb8f174 commit 807da7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion celery_progress/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def get_info(self):
'complete': True,
'success': False,
'progress': _get_unknown_progress(self.result.state),
'result': 'Unknown state {}: {}'.format(self.result.state, str(self.result.info)),
'result': 'Unknown state {}'.format(self.result.state),
})
return response

Expand Down

0 comments on commit 807da7b

Please sign in to comment.