raise instead of exit

git-svn-id: file:///home/svn/framework3/trunk@7426 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2009-11-09 18:27:30 +00:00
parent 927fe6b6c2
commit 95d9f5e676
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ class Msf::Module::Platform
if (not mod.const_defined?('Names'))
elog("Failed to instantiate the platform list for module #{mod}")
exit(0)
raise RuntimeError.new("Failed to instantiate the platform list for module #{mod}")
return nil
end