elps icon indicating copy to clipboard operation
elps copied to clipboard

Add ability to re-throw errors

Open sam-at-luther opened this issue 4 years ago • 0 comments

We lose stack traces using the current pattern of rethrowing errors in handler-bind, e.g.:

                      (handler-bind ([condition ; catch any error
                                     (lambda (c &rest args)
                                       (log-metrics)
                                       (apply error c args))]) ; re-throw the error

We would like the ability to "re-throw" the error within this handler-bind.

sam-at-luther avatar Oct 22 '20 16:10 sam-at-luther