Improve exception reporting

This commit is contained in:
Christopher Baines 2025-02-27 12:09:04 +00:00
parent ed4113af51
commit 21e328aebb
3 changed files with 50 additions and 58 deletions

View file

@ -12,10 +12,11 @@
(lambda (exn)
exn)
(lambda ()
(with-throw-handler #t
thunk
(lambda _
(backtrace)))
(with-exception-handler
(lambda (exn)
(backtrace)
(raise-exception exn))
thunk)
#t)
#:unwind? #t))
#:hz 0