ruby-changes:63747
From: Takashi <ko1@a...>
Date: Wed, 25 Nov 2020 13:37:22 +0900 (JST)
Subject: [ruby-changes:63747] 00f046ef57 (master): Report a full_message on a worker crash
https://git.ruby-lang.org/ruby.git/commit/?id=00f046ef57 From 00f046ef57f9da7f5248f9ef9d55702ddc407bf1 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Tue, 24 Nov 2020 20:36:25 -0800 Subject: Report a full_message on a worker crash A worker crash happens very often, but we're not sure why. I'd like to know a backtrace if it's available. diff --git a/tool/lib/test/unit.rb b/tool/lib/test/unit.rb index ea31804..c17f198 100644 --- a/tool/lib/test/unit.rb +++ b/tool/lib/test/unit.rb @@ -324,7 +324,7 @@ module Test https://github.com/ruby/ruby/blob/trunk/tool/lib/test/unit.rb#L324 return unless @options[:parallel] return if @interrupt flush_job_tokens - warn e if e + warn e.full_message if e real_file = worker.real_file and warn "running file: #{real_file}" @need_quit = true warn "" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/