Skip to content

Exceptions not caught properly (1.8.7?) #12

@timjnh

Description

@timjnh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions