Pass on exceptions from AB transcode job.
authorCarl Hetherington <cth@carlh.net>
Tue, 4 Jun 2013 10:46:17 +0000 (11:46 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 4 Jun 2013 10:46:17 +0000 (11:46 +0100)
src/lib/ab_transcode_job.cc

index 4ffdd9af6b815cbe6c572d1e72a336e82ce0445b..7ef682a48b9a4df1c0c979b3c106a29198e3b2bd 100644 (file)
@@ -61,7 +61,8 @@ ABTranscodeJob::run ()
 
        } catch (std::exception& e) {
 
+               set_progress (1);
                set_state (FINISHED_ERROR);
-
+               throw;
        }
 }