Open cvengros opened 11 years ago
Also, I was wondering if you could configure pry-rescue to ignore "skip"
:+1: 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: https://github.com/ConradIrwin/pry-rescue/issues/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. On May 10, 2014 9:17 PM, "Vincent Woo" notifications@github.com wrote:
@Blue-Dog-Archolite https://github.com/Blue-Dog-Archolite you could perhaps try special casing here: https://github.com/ConradIrwin/pry-rescue/blob/master/lib/pry-rescue.rb#L75
— Reply to this email directly or view it on GitHubhttps://github.com/ConradIrwin/pry-rescue/issues/36#issuecomment-42760334 .
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.