[hunchentoot-devel] cgitb
Ron Garret
ron at flownet.com
Sat Aug 28 01:50:37 UTC 2010
Is there any straightforward way to get a backtrace-on-error displayed on the browser screen instead of being logged to a file, like Pythons' cgitb package does? I tried this:
(defun error-handler (arg) [code-to-generate-backtrace])
(setf *HTTP-ERROR-HANDLER* 'error-handler)
but that doesn't work because by the time error-handler is called the server has already exited the error context.
Thanks,
rg
More information about the Tbnl-devel
mailing list