From: Carl Hetherington Date: Fri, 18 Sep 2015 13:03:44 +0000 (+0100) Subject: Make sure exceptions during local encodes are propagated up to the front end (#694). X-Git-Tag: v2.3.5~9 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=9bfa5c8bc706f70e163a282f52988a70c6080540 Make sure exceptions during local encodes are propagated up to the front end (#694). --- diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc index 06fc81ad7..6fe745dd7 100644 --- a/src/lib/encoder.cc +++ b/src/lib/encoder.cc @@ -347,6 +347,7 @@ try LOG_TIMING ("finish-local-encode thread=%1 frame=%2", boost::this_thread::get_id(), vf->index()); } catch (std::exception& e) { LOG_ERROR (N_("Local encode failed (%1)"), e.what ()); + throw; } }