diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/envutil.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb index 55657a0762..d34b3e3c7b 100644 --- a/test/ruby/envutil.rb +++ b/test/ruby/envutil.rb @@ -533,10 +533,11 @@ eom end end if !errs.empty? - msg = errs.map {|t, err| + msg = "exceptions on #{errs.length} threads:\n" + + errs.map {|t, err| + "#{t.inspect}:\n" + err.backtrace.map.with_index {|line, i| if i == 0 - "#{t.inspect}:\n" + "#{line}: #{err.message} (#{err.class})" else "\tfrom #{line}" |