Skip to content

Commit 6c81bc1

Browse files
committed
Put IOException message in wrapper, so we can deal with it.
1 parent c8abbf0 commit 6c81bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/jruby/util/io/PosixShim.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ public Channel open(String cwd, String path, ModeFlags flags, int perm, ClassLoa
412412
} catch (ResourceException.TooManySymlinks e) {
413413
errno = Errno.ELOOP;
414414
} catch (IOException e) {
415-
throw new RuntimeException("Unhandled IOException", e);
415+
throw new RuntimeException("Unhandled IOException" + e.getLocalizedMessage(), e);
416416
}
417417
return null;
418418
}

0 commit comments

Comments
 (0)