diff --git a/pdfquery/pdfquery.py b/pdfquery/pdfquery.py index aa7f584..474f346 100644 --- a/pdfquery/pdfquery.py +++ b/pdfquery/pdfquery.py @@ -650,7 +650,7 @@ def _add_annots(self, layout, annots): annot = self._set_hwxy_attrs(annot) try: annot['URI'] = resolve1(annot['A'])['URI'] - except KeyError: + except: pass for k, v in six.iteritems(annot): if not isinstance(v, six.string_types):