Qualify the exception namespace

git-svn-id: file:///home/svn/framework3/trunk@12475 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-04-30 03:33:45 +00:00
parent 9c619c3a40
commit 321e5bd292
1 changed files with 3 additions and 1 deletions

View File

@ -2082,7 +2082,9 @@ class DBManager
@import_filedata[:zip_wspace] = @import_filedata[:zip_xml].to_s.match(/^(.*)_[0-9]+\.xml$/)[1]
@import_filedata[:type] = "Metasploit ZIP Report"
return :msf_zip
rescue
rescue ::Interrupt
raise $!
rescue ::Exception
raise DBImportError.new("The zip file provided is not a Metasploit ZIP report")
end
end