backtrace and conditions
I have such a code:
(catch 'handler-done
(handler-bind ((error #'(lambda (condition)
(when *scgi-ignore-errors*
(log-error-condition condition path)
(throw 'handler-done nil)))))
(funcall function request))) ; <- do request
When an error occurs I log it and continue to carry on. The function log-error-condition has something like this (format nil "~a" condition).
Question: how can I also log the backtrace of the stack frames where code has fired condition?
Best,
Art