diff --git a/lib/templates/build_annotations.rb b/lib/templates/build_annotations.rb index 0b541571..8d0113c8 100644 --- a/lib/templates/build_annotations.rb +++ b/lib/templates/build_annotations.rb @@ -17,7 +17,7 @@ module Templates build_external_link_hash(page, annot).merge('page' => index) end end - rescue PDF::Reader::MalformedPDFError + rescue PDF::Reader::MalformedPDFError, OpenSSL::Cipher::CipherError [] end