projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0f9f004
)
Catch CPLNotFoundError more nicely.
author
Carl Hetherington
<cth@carlh.net>
Sat, 17 Sep 2022 20:31:24 +0000
(22:31 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 17 Sep 2022 20:31:24 +0000
(22:31 +0200)
src/lib/job.cc
patch
|
blob
|
history
diff --git
a/src/lib/job.cc
b/src/lib/job.cc
index 1c7fe5a83ff5d333eafa62141fce4ec3c00e059e..8ce63ced0213d66ea2c03dce79bd3a29579562d0 100644
(file)
--- a/
src/lib/job.cc
+++ b/
src/lib/job.cc
@@
-235,6
+235,12
@@
Job::run_wrapper ()
set_progress (1);
set_state (FINISHED_ERROR);
+ } catch (CPLNotFoundError& e) {
+
+ set_error(e.what());
+ set_progress(1);
+ set_state(FINISHED_ERROR);
+
} catch (std::exception& e) {
set_error (