summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tools/dcpomatic_kdm.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc
index e2197e522..d3891c67c 100644
--- a/src/tools/dcpomatic_kdm.cc
+++ b/src/tools/dcpomatic_kdm.cc
@@ -262,6 +262,9 @@ int main (int argc, char* argv[])
} catch (FileError& e) {
cerr << argv[0] << ": " << e.what() << " (" << e.file().string() << ")\n";
exit (EXIT_FAILURE);
+ } catch (KDMError& e) {
+ cerr << argv[0] << ": " << e.what() << "\n";
+ exit (EXIT_FAILURE);
}
}