OpenCAGE icon indicating copy to clipboard operation
OpenCAGE copied to clipboard

CATHODELib sliently throws away any exceptions on load

Open ProjectHSI opened this issue 8 months ago • 1 comments

Didn't write this down as a ticket immediately - but thought I'd add it here. CATHODELib will sliently throw away any exceptions on load, obfuscating the cause of the problem and preventing the developer from diagnosing it.

ProjectHSI avatar Mar 17 '25 22:03 ProjectHSI

There's a hash define called CATHODE_FAIL_HARD which will remove the try/catch statements from the load/save functions. It felt better in the early days to have them enabled by default, but agree it might be better to just be the default behaviour now 👍

MattFiler avatar Mar 18 '25 07:03 MattFiler