summaryrefslogtreecommitdiff
path: root/tool/lib/test/unit.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-11-24 20:36:25 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2020-11-24 20:36:39 -0800
commit00f046ef57f9da7f5248f9ef9d55702ddc407bf1 (patch)
tree04cf552b9d2d26e7d537f3f9d25c0a720cf0c8b5 /tool/lib/test/unit.rb
parenteaa87be5f620a709eb38695f995de405ac42490b (diff)
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.
Diffstat (limited to 'tool/lib/test/unit.rb')
-rw-r--r--tool/lib/test/unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/test/unit.rb b/tool/lib/test/unit.rb
index ea31804fb0..c17f19834e 100644
--- a/tool/lib/test/unit.rb
+++ b/tool/lib/test/unit.rb
@@ -324,7 +324,7 @@ module Test
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 ""