Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to re-throw errors #26

Open
sam-at-luther opened this issue Oct 22, 2020 · 0 comments
Open

Add ability to re-throw errors #26

sam-at-luther opened this issue Oct 22, 2020 · 0 comments

Comments

@sam-at-luther
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant