From 059ee36436bfc65df811557a4eb83ba58d318b7c Mon Sep 17 00:00:00 2001 From: Christian Bruckmayer Date: Wed, 24 Jul 2024 11:11:14 +0100 Subject: [PATCH] Print backtrace --- ruby/lib/minitest/queue.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/ruby/lib/minitest/queue.rb b/ruby/lib/minitest/queue.rb index 8450ec99..6f8c6c39 100644 --- a/ruby/lib/minitest/queue.rb +++ b/ruby/lib/minitest/queue.rb @@ -271,6 +271,7 @@ def run_from_queue(reporter, *) queue.report_worker_error(error) puts red("This worker exited because of an uncaught application error:") puts red("#{error.class}: #{error.message}") + puts red("#{error.backtrace}") exit!(42) end end