Log error message by IP address
git-svn-id: file:///home/svn/framework3/trunk@5348 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
f0f7c03f06
commit
ee4fbac2bf
|
@ -60,7 +60,7 @@ def run
|
|||
rescue ::Interrupt
|
||||
raise $!
|
||||
rescue ::Exception => e
|
||||
print_status("Error: #{e.to_s}")
|
||||
print_status("Error: #{ip} #{e.to_s}")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -119,7 +119,7 @@ def run
|
|||
rescue ::Interrupt
|
||||
raise $!
|
||||
rescue ::Exception => e
|
||||
print_status("Error: #{e.to_s}")
|
||||
print_status("Error: #{batch[0]}-#{batch[-1]}: #{e.to_s}")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue