Skip to content

Catch kaitai exceptions

In version 0.9 of kaitaistruct (current as of now), the Exceptions are derived from KaitaiStructError which is in turn derived from BaseException instead of Exception. This was patched in the upstream version derives from Exception as expected.

I have added the ability to catch these exceptions as well while decoding the frames to prevent frames with invalid ids from causing the run to exit.

Edited by Adithya Venkateswaran

Merge request reports