1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use #full_message instead of #backtrace_locations

This commit is contained in:
aycabta 2021-08-08 15:42:48 +09:00
parent f81964568f
commit ca2dd6d35a

View file

@ -542,7 +542,7 @@ module BasetestReadline
end
end
rescue Timeout::Error => e
assert false, "Timed out to handle SIGINT.\nLog: #{log}\nBacktrace:\n#{e.backtrace_locations.join("\n")}\n----"
assert false, "Timed out to handle SIGINT.\nLog: #{log}\nBacktrace:\n#{e.full_message(highlight: false)}\n----"
asserted = true
end
[log, Process.wait2(pid)[1]]