mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
show the location at intterrupted
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e5e735549d
commit
5845bd6a71
1 changed files with 1 additions and 0 deletions
|
@ -254,6 +254,7 @@ def show_progress(message = '')
|
|||
end
|
||||
end
|
||||
rescue Interrupt
|
||||
$stderr.puts "\##{@count} #{@location}"
|
||||
raise Interrupt
|
||||
rescue Exception => err
|
||||
$stderr.print 'E'
|
||||
|
|
Loading…
Add table
Reference in a new issue