-
Notifications
You must be signed in to change notification settings - Fork 49
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
How to ignore certain errors? #36
Comments
Also, I was wondering if you could configure pry-rescue to ignore "skip" |
👍 on ignoring skip. |
I am willing to do the work on this if i can get a bit of direction on where to look. |
Ignore skip: #65 |
@Blue-Dog-Archolite you could perhaps try special casing here: https://github.com/ConradIrwin/pry-rescue/blob/master/lib/pry-rescue.rb#L75 |
Nice. I'll do some digging.
|
I'm using pry-rescue with rack and Grape framework for developing a REST API.
The way how to return a HTTP 403 unauthorized from the API is through an exception. I don't want to catch this with pry, even though it's there. Is there a way how to ignore an exception (not firing pry) by exception class or by code block?
Thanks.
The text was updated successfully, but these errors were encountered: