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:
parent
f81964568f
commit
ca2dd6d35a
1 changed files with 1 additions and 1 deletions
|
@ -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]]
|
||||
|
|
Loading…
Add table
Reference in a new issue