Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyKernel.java
Original file line number Diff line number Diff line change
@@ -1146,7 +1146,7 @@ private static IRubyObject rbThrowInternal(ThreadContext context, IRubyObject ta

final RubyThread currentThread = context.getThread();
if (currentThread != runtime.getThreadService().getMainThread()) {
message += " in thread 0x" + Integer.toHexString(RubyInteger.fix2int(currentThread.id()));
message += " in thread 0x" + Integer.toHexString(System.identityHashCode(currentThread.getNativeThread()));
}
throw uncaughtThrow(runtime, tag, value, runtime.newString(message));
}

0 comments on commit f2e250e

Please sign in to comment.