Don't store Exception in a variable
parent
72c36eb23e
commit
46a225cbec
|
@ -110,7 +110,7 @@ module Msf
|
||||||
|
|
||||||
begin
|
begin
|
||||||
return_data = Rex::Proto::Rmi::Model::ReturnData.decode(StringIO.new(data))
|
return_data = Rex::Proto::Rmi::Model::ReturnData.decode(StringIO.new(data))
|
||||||
rescue ::RuntimeError => e
|
rescue ::RuntimeError
|
||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue