diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-03 12:04:50 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-21 21:57:18 +0200 |
| commit | e6e6335940492b0ae801d1a7442a0d43636e0ad6 (patch) | |
| tree | 3b27a3a31812d03d1e774231364de8c44c53452f | |
| parent | f0db3154e27a4f6947590ea183412e53e1987e35 (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()) { |
