mirror of
https://github.com/ruby/ruby.git
synced 2025-09-22 03:53:58 +02: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
|
end
|
||||||
end
|
end
|
||||||
rescue Timeout::Error
|
rescue Timeout::Error => e
|
||||||
assert false, "Timed out to handle SIGINT.\nLog: #{log}\n----"
|
assert false, "Timed out to handle SIGINT.\nLog: #{log}\nBacktrace:\n#{e.backtrace_locations.join("\n")}\n----"
|
||||||
asserted = true
|
asserted = true
|
||||||
end
|
end
|
||||||
[log, Process.wait2(pid)[1]]
|
[log, Process.wait2(pid)[1]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue