kaitai-io / kaitai_struct

Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby
https://kaitai.io
4.04k stars 199 forks source link

`--ksc-exceptions` does not produces exceptions with stacktraces for the `CompilationProblem`s #1136

Open Mingun opened 1 month ago

Mingun commented 1 month ago

As was observed in #857, sometimes --ksc-exceptions flag does not produce exceptions as it should and instead only writes user-friendly message. It seems that exception is not printed when the error was produced from the CompilationProblem