Add a :warning handler for db_import.

git-svn-id: file:///home/svn/framework3/trunk@12379 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Tod Beardsley 2011-04-20 18:22:18 +00:00
parent 07fb337ad9
commit 93a07df541
1 changed files with 2 additions and 0 deletions

View File

@ -1231,6 +1231,8 @@ class Db
print_status("Import: #{data} packets processed")
when :record_count
print_status("Import: #{data[1]} records processed")
when :warning
print_status("Import Warning: #{data}")
end
end
print_status("Successfully imported #{filename}")