Log error message by IP address

git-svn-id: file:///home/svn/framework3/trunk@5348 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-01-25 04:53:15 +00:00
parent f0f7c03f06
commit ee4fbac2bf
1 changed files with 2 additions and 2 deletions

View File

@ -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