Druid - Component GUI Framework

We are having a problem with druid buttons, specifically when there is an error inside the button callback the game doesn’t crash but keeps running leading to player data corruption.
We are using an older version of druid in which event.lua is inside the repo but the newest version seems to be behaving in the same way. I believe the issue is that event.lua uses pcall() for event callback invocation and ignores the error, I don’t see an option to disable this behaviour. Is there a way?

If I replace the pcall() with a regular function call the game crashes properly.