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

Capture original exceptions #5

Closed
rsanheim opened this issue Nov 15, 2012 · 3 comments
Closed

Capture original exceptions #5

rsanheim opened this issue Nov 15, 2012 · 3 comments

Comments

@rsanheim
Copy link

We are dropping the original exception on the floor here:

https://github.com/mojombo/bertrpc/blob/master/lib/bertrpc/action.rb#L64

This would be useful for knowing exactly where the reset is happening from.

/cc github/github#7212

@rsanheim
Copy link
Author

The errors actually have the ability to capture original exception, we would have to pass it up the inheritance chain though.

https://github.com/mojombo/bertrpc/blob/master/lib/bertrpc/errors.rb#L14

@josh
Copy link
Contributor

josh commented Jul 20, 2014

2 years later we have Exception#cause.

@rsanheim
Copy link
Author

Hah. Shout out to two year old issues.

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

2 participants