diff --git a/lib/msf/core/module/external.rb b/lib/msf/core/module/external.rb index 5a6c1bf29d..4c08d5a4e2 100644 --- a/lib/msf/core/module/external.rb +++ b/lib/msf/core/module/external.rb @@ -17,9 +17,11 @@ module Msf::Module::External end end end - rescue Exception => e #Msf::Modules::External::Bridge::Error => e + rescue Interrupt => e + raise e + rescue Exception => e elog e.backtrace.join("\n") - fail_with Failure::UNKNOWN, e.message + fail_with Msf::Module::Failure::Unknown, e.message end end