aboutsummaryrefslogtreecommitdiffstats
path: root/qpdf/qpdf.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-25 22:40:35 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commit9373881cca0c781c66b2b50b962bdbc26364abe5 (patch)
tree50839b0d13d3178a3d7bd795de8fce39806e840e /qpdf/qpdf.cc
parent0a354af02cf51aeb1602596988c8f826b47b3a81 (diff)
downloadqpdf-9373881cca0c781c66b2b50b962bdbc26364abe5.tar.zst
Add QPDFJob::ConfigError exception
Diffstat (limited to 'qpdf/qpdf.cc')
-rw-r--r--qpdf/qpdf.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc
index 04cd2244..0e7eaf65 100644
--- a/qpdf/qpdf.cc
+++ b/qpdf/qpdf.cc
@@ -52,6 +52,10 @@ int realmain(int argc, char* argv[])
{
usageExit(e.what());
}
+ catch (QPDFJob::ConfigError& e)
+ {
+ usageExit(e.what());
+ }
catch (std::exception& e)
{
std::cerr << whoami << ": " << e.what() << std::endl;