Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Put IOException message in wrapper, so we can deal with it.
  • Loading branch information
headius committed Nov 12, 2014
1 parent c8abbf0 commit 6c81bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/util/io/PosixShim.java
Expand Up @@ -412,7 +412,7 @@ public Channel open(String cwd, String path, ModeFlags flags, int perm, ClassLoa
} catch (ResourceException.TooManySymlinks e) {
errno = Errno.ELOOP;
} catch (IOException e) {
throw new RuntimeException("Unhandled IOException", e);
throw new RuntimeException("Unhandled IOException" + e.getLocalizedMessage(), e);
}
return null;
}
Expand Down

0 comments on commit 6c81bc1

Please sign in to comment.