From 93a07df541980b8a35a41f8bfe8372f7cb072e90 Mon Sep 17 00:00:00 2001 From: Tod Beardsley Date: Wed, 20 Apr 2011 18:22:18 +0000 Subject: [PATCH] Add a :warning handler for db_import. git-svn-id: file:///home/svn/framework3/trunk@12379 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/ui/console/command_dispatcher/db.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/msf/ui/console/command_dispatcher/db.rb b/lib/msf/ui/console/command_dispatcher/db.rb index f055c7e225..4c5e2b04b5 100644 --- a/lib/msf/ui/console/command_dispatcher/db.rb +++ b/lib/msf/ui/console/command_dispatcher/db.rb @@ -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}")