-
Notifications
You must be signed in to change notification settings - Fork 29
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
Optionally provide the backtrace when catching host errors #87
Comments
appleby
added a commit
that referenced
this issue
Nov 8, 2019
appleby
added a commit
that referenced
this issue
Nov 8, 2019
appleby
added a commit
that referenced
this issue
Nov 8, 2019
appleby
added a commit
that referenced
this issue
Nov 15, 2019
Add a :DEBUG keyword argument to RPCQ:START-SERVER. If non-nil, log a backtrace when the handler throws an error. Closes #87
stylewarning
pushed a commit
that referenced
this issue
Nov 19, 2019
Add a :DEBUG keyword argument to RPCQ:START-SERVER. If non-nil, log a backtrace when the handler throws an error. Closes #87
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
server.lisp
has a couple error handlers that catch all errors coming out of the host, and those handlers only provide the top-level error. It is helpful during debugging to inspect the backtrace but this is not available currently. One option would be to usehandler-bind
rather thanhandler-case
(where the stack has already unwound), and provide something likerpcq::*verbose-error*
to optionally provide more detailed errors.The text was updated successfully, but these errors were encountered: