From 869462070671b273ac528e075ac1c00a417cc8a0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 17 Apr 2024 22:19:02 +0200 Subject: Make some not-so-important CPL read errors non-fatal (DoM #2797). --- src/verify.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/verify.cc') diff --git a/src/verify.cc b/src/verify.cc index 9715c020..112a5bb5 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -2178,6 +2178,10 @@ dcp::note_to_string (VerificationNote note) return String::compose("The asset with ID %1 in the asset map actually has an id of %2", note.id().get(), note.other_id().get()); case VerificationNote::Code::EMPTY_CONTENT_VERSION_LABEL_TEXT: return String::compose("The in a in CPL %1 is empty", note.id().get()); + case VerificationNote::Code::INVALID_CPL_NAMESPACE: + return String::compose("The namespace %1 in CPL %2 is invalid", note.note().get(), note.file()->filename()); + case VerificationNote::Code::MISSING_CPL_CONTENT_VERSION: + return String::compose("The CPL %1 has no tag", note.note().get()); } return ""; -- cgit v1.2.3