From 7d30f781f62aeefe5ccc27da86c3b257c7c4b02c Mon Sep 17 00:00:00 2001 From: Matthew Kienow Date: Thu, 20 Sep 2018 20:09:42 -0400 Subject: [PATCH] Add missing raise --- lib/msf/core/rpc/json/dispatcher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/core/rpc/json/dispatcher.rb b/lib/msf/core/rpc/json/dispatcher.rb index d690a7744c..002bbd4d8c 100644 --- a/lib/msf/core/rpc/json/dispatcher.rb +++ b/lib/msf/core/rpc/json/dispatcher.rb @@ -93,7 +93,7 @@ module Msf::RPC::JSON rescue ArgumentError raise InvalidParams.new rescue Msf::RPC::Exception => e - ApplicationServerError.new(e.message, data: { code: e.code }) + raise ApplicationServerError.new(e.message, data: { code: e.code }) end end