From 03bd35d43785ac6c58e74e84879a72143d5eb168 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Wed, 8 May 2024 14:07:34 -0500 Subject: [PATCH] Lost newlines in full_message output --- core/src/main/java/org/jruby/runtime/backtrace/TraceType.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/org/jruby/runtime/backtrace/TraceType.java b/core/src/main/java/org/jruby/runtime/backtrace/TraceType.java index 3d83ec81661..3948ff48069 100644 --- a/core/src/main/java/org/jruby/runtime/backtrace/TraceType.java +++ b/core/src/main/java/org/jruby/runtime/backtrace/TraceType.java @@ -753,6 +753,7 @@ public static void printBacktraceToStream(ThreadContext context, IRubyObject bac else { errorStream.append(stackTraceLine); } + errorStream.cat('\n'); } if ((elements.length > i)) {