-
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
Block rescuing not working (Rails/Minitest)? #82
Comments
What's your rspec version? |
Hi, the project uses Minitest, not rspec. |
Can you produce a sample app that exhibits this problem? Be happy to look at it. |
Thats the thing, I bet it works on a fresh app. What I wanted to know is how to debug it on the existing one. Feel free to close this though. Most of the time I can do withou the Pry.rescue superpowers, only when the problem is inside a gem its a real pain to vendor it just to do a few things with the code. |
For an existing one it may be a due to minitest's version because the recent update for RSpec also had this issue. |
Hi, I tried pry-rescue in my minitest setup and since it didn't seem to work I tried to use the block way of doing things.
The exception is not caught when I do
Pry.rescue { }
or spoon-feed the exception byPry::rescued(e)
nothing happens.Glad to debug, anything I should look for?
The text was updated successfully, but these errors were encountered: