summaryrefslogtreecommitdiff
path: root/src/verify.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-20 23:15:11 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-20 23:15:11 +0100
commitd27d0f88a526cfe55e6018f9f32d54d5b61fc634 (patch)
tree9645e24258c90fe329dbac08e8ba670b07fe97a8 /src/verify.cc
parent8ba4029ad997f638dedced7a24d441450d55b589 (diff)
parent03257d7e08986d1333190f447e5d64c609ade981 (diff)
Merge tag 'v1.8.98' into v1.9.xv1.9.3
Diffstat (limited to 'src/verify.cc')
-rw-r--r--src/verify.cc24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/verify.cc b/src/verify.cc
index 0ef4ada5..9715c020 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -1904,16 +1904,20 @@ dcp::verify (
}
for (auto cpl: dcp->cpls()) {
- verify_cpl(
- dcp,
- cpl,
- stage,
- *xsd_dtd_directory,
- progress,
- options,
- notes,
- state
- );
+ try {
+ verify_cpl(
+ dcp,
+ cpl,
+ stage,
+ *xsd_dtd_directory,
+ progress,
+ options,
+ notes,
+ state
+ );
+ } catch (ReadError& e) {
+ notes.push_back({VerificationNote::Type::ERROR, VerificationNote::Code::FAILED_READ, string(e.what())});
+ }
}
for (auto pkl: dcp->pkls()) {