summaryrefslogtreecommitdiff
path: root/src/lib/encoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-18 14:03:44 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-18 14:03:44 +0100
commit9bfa5c8bc706f70e163a282f52988a70c6080540 (patch)
treeaaadee7d273052c0d8be05d1d38353679bdaf2f2 /src/lib/encoder.cc
parentb31bf6be17a014eaa9603af4563388070ce3ed73 (diff)
Make sure exceptions during local encodes are propagated up to the front end (#694).
Diffstat (limited to 'src/lib/encoder.cc')
-rw-r--r--src/lib/encoder.cc1
1 files changed, 1 insertions, 0 deletions
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;
}
}