Skip to content

Commit

Permalink
Fixes #5003. Low-level Java error printed on Errno::EPIPE exception
Browse files Browse the repository at this point in the history
Errant printStackTrace() from 2004 O_o.
  • Loading branch information
enebo committed Apr 27, 2018
1 parent d8b1ff9 commit e46e465
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/src/main/java/org/jruby/RubyIO.java
Expand Up @@ -4298,7 +4298,6 @@ public static IRubyObject copy_stream(ThreadContext context, IRubyObject recv, I

return context.runtime.newFixnum(size);
} catch (IOException ioe) {
ioe.printStackTrace();
throw runtime.newIOErrorFromException(ioe);
} finally {
if (userProvidedReadIO) {
Expand Down

0 comments on commit e46e465

Please sign in to comment.