#2 √ resolved
Kevin Clark

should_raise(SystemCallError) doesn't pick up Errno.handle'd exceptions

Reported by Kevin Clark | October 2nd, 2007 @ 10:39 AM | in 1.0 preview

The Errno.handle'd exceptions (EEXIST and friends) seem to have the proper ancestors. Errors are bubbling up to cause an E on the specs, so I don't think it's that the wrong exception is being raised, it simply isn't being caught by "rescue Exception => e".

The core/dir/rmdir_spec.rb can be used as a test case.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket