You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
our software attempts to save a .pdf document via a call to .save() with arguments stream_decode_level=StreamDecodeLevel.none, compress_streams=True
When this has failed, a RuntimeError is trapped and the save is attempted with compress_streams=False
However, recently RuntimeError is no longer the exception thrown when the compressed save fails and the only solution I had (under pressure) was to catch Exception instead of a more specific exception.
Question
Did the type of exception raised on a save that failed for this reason change sometime between release 5.0.1 and 5.15?
The text was updated successfully, but these errors were encountered:
related issues
Issue for this ticket
our software attempts to save a .pdf document via a call to
.save()
with argumentsstream_decode_level=StreamDecodeLevel.none, compress_streams=True
When this has failed, a
RuntimeError
is trapped and the save is attempted withcompress_streams=False
However, recently
RuntimeError
is no longer the exception thrown when the compressed save fails and the only solution I had (under pressure) was to catchException
instead of a more specific exception.Question
Did the type of exception raised on a save that failed for this reason change sometime between release 5.0.1 and 5.15?
The text was updated successfully, but these errors were encountered: