risor
risor copied to clipboard
Capture stack trace when an error is raised
Something like this should be able to show the traceback tied to a given error:
try(
func() {
error("kaboom")
},
func(err) {
print(err.traceback())
}
)