mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Show backtrace locations when I/O timed out
This commit is contained in:
parent
1fe73128cd
commit
40ccb87a49
1 changed files with 2 additions and 2 deletions
|
@ -541,8 +541,8 @@ module BasetestReadline
|
|||
end
|
||||
end
|
||||
end
|
||||
rescue Timeout::Error
|
||||
assert false, "Timed out to handle SIGINT.\nLog: #{log}\n----"
|
||||
rescue Timeout::Error => e
|
||||
assert false, "Timed out to handle SIGINT.\nLog: #{log}\nBacktrace:\n#{e.backtrace_locations.join("\n")}\n----"
|
||||
asserted = true
|
||||
end
|
||||
[log, Process.wait2(pid)[1]]
|
||||
|
|
Loading…
Add table
Reference in a new issue