From 9ed8facce8fc7675ae07c29291d19f37d5905168 Mon Sep 17 00:00:00 2001 From: Christopher Usher Date: Mon, 14 Oct 2019 19:04:06 +0100 Subject: [PATCH] fixed bug in error handling --- cutter/cutter/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cutter/cutter/main.py b/cutter/cutter/main.py index c93eb77..3ac72ad 100644 --- a/cutter/cutter/main.py +++ b/cutter/cutter/main.py @@ -373,7 +373,7 @@ class Cutter(object): video_quality=job.video_quality, upload_location=job.upload_location, final_state='EDITED').inc() - if not set_row(state='UNEDITED', error="Retryable error while uploading: {}".format(ex), uploader=None): + if not set_row(state='EDITED', error="Retryable error while uploading: {}".format(ex), uploader=None): raise JobConsistencyError( "No job with id {} and uploader {} when setting error while rolling back for retryable error" .format(job.id, self.name)