wisp icon indicating copy to clipboard operation
wisp copied to clipboard

Include stacktrace in log for `rescue_crashes`

Open ghivert opened this issue 10 months ago • 1 comments

Hi!

When doing some FFI crimes, Erlang throws an error. When an error is thrown, in case wisp.rescue_crashes is used, Wisp will take care of the error, but will discard the error in the display. It would be nice to preserve the stacktrace during display.

ghivert avatar Feb 21 '25 13:02 ghivert

Thanks! The issue is not that is discards the error, it's that it doesn't include the stack trace when logging.

lpil avatar Feb 21 '25 13:02 lpil