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

Exceptions not caught properly (1.8.7?) #12

Open
timjnh opened this issue Mar 26, 2011 · 0 comments
Open

Exceptions not caught properly (1.8.7?) #12

timjnh opened this issue Mar 26, 2011 · 0 comments

Comments

@timjnh
Copy link

timjnh commented Mar 26, 2011

Not sure if this is a version difference in Ruby but the rescue clause at line 42 of test_unit.rb does not seem to be catching all exceptions properly under 1.8.7. Currently it reads:

rescue => e

which does not appear to catch MissingSourceFile exceptions. Changing the line to

rescue Exception => e

resolves the problem. Not sure if this patch would introduce other 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

1 participant