]> git.ipfire.org Git - thirdparty/python-drafthorse.git/commit
Suppress output intent keyerror (#59)
authorEetu Purontaus <eetu.purontaus@gmail.com>
Wed, 22 Jan 2025 10:53:35 +0000 (12:53 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Jan 2025 10:53:35 +0000 (11:53 +0100)
commitdab9e466567b369b6c68af41fbf09c6b6a8ab803
tree94c5c3ebc88647a113e96e74a86d0e05c8fa17c6
parenteb9947dd7c0064240513da49cf90934dcf87a420
Suppress output intent keyerror (#59)

For non-compliant PDFs, output intent structure may be missing. Rather than logging an error, just debug and return.

Also use the correct logger.exception() instead of error so
the full exception gets logged.
drafthorse/pdf.py