From fdd00e024d646d9bff14bc3864ff91583ec94a1a Mon Sep 17 00:00:00 2001 From: HD Moore Date: Fri, 3 Jun 2011 00:08:58 +0000 Subject: [PATCH] Show the real message git-svn-id: file:///home/svn/framework3/trunk@12834 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/rpc/v10/service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/core/rpc/v10/service.rb b/lib/msf/core/rpc/v10/service.rb index a1679edb17..9162e70e98 100644 --- a/lib/msf/core/rpc/v10/service.rb +++ b/lib/msf/core/rpc/v10/service.rb @@ -142,7 +142,7 @@ class Service ::Timeout.timeout(self.dispatcher_timeout) { self.handlers[group].send(mname, *msg) } rescue ::Exception => e - elog("RPC Exception: #{e.class} #{e} #{e.backtrace} #{msg.inspect} #{req.inspect}") + elog("RPC Exception: #{e.class} #{e.to_s} #{e.backtrace} #{msg.inspect} #{req.inspect}") process_exception(e) end end