lib/minitest/queue.rb in ci-queue-0.55.0 vs lib/minitest/queue.rb in ci-queue-0.56.0

- old
+ new

@@ -266,11 +266,15 @@ reopen_previous_step puts red("The heartbeat process died. This worker is exiting early.") exit!(41) rescue => error reopen_previous_step + queue.report_worker_error(error) puts red("This worker exited because of an uncaught application error:") puts red("#{error.class}: #{error.message}") + error.backtrace.each do |frame| + puts red(frame) + end exit!(42) end end end