diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-03 12:04:50 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-20 19:32:42 +0200 |
| commit | 7e4c4c4099bb2e52a09391d26f60331993b79d5c (patch) | |
| tree | 475265008ccefefe024e94d5b69f472bfa588b1f | |
| parent | b91b77b58e83f87acae04e0d4df49e711af41d83 (diff) | |
Catch cxml errors when verifying.
| -rw-r--r-- | src/verify.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc index 4fce49a3..9a0895f6 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -552,6 +552,8 @@ dcp::verify ( notes.push_back (VerificationNote(VerificationNote::VERIFY_ERROR, VerificationNote::GENERAL_READ, string(e.what()))); } catch (XMLError& e) { notes.push_back (VerificationNote(VerificationNote::VERIFY_ERROR, VerificationNote::GENERAL_READ, string(e.what()))); + } catch (cxml::Error& e) { + notes.push_back (VerificationNote(VerificationNote::VERIFY_ERROR, VerificationNote::GENERAL_READ, string(e.what()))); } BOOST_FOREACH (shared_ptr<CPL> cpl, dcp->cpls()) { |
