vnc add missing exception catch
linux throws a different exception than osx when the vnc client fails to connect this caused issues with the specs running. this now catches that additional exceptionbug/bundler_fix
parent
2522f1f332
commit
c61b47063d
|
@ -61,7 +61,7 @@ module Metasploit
|
|||
status: :connection_error
|
||||
)
|
||||
end
|
||||
rescue ::EOFError, Rex::AddressInUse, Rex::ConnectionError, Rex::ConnectionTimeout, ::Timeout::Error => e
|
||||
rescue ::EOFError, Errno::ENOTCONN, Rex::AddressInUse, Rex::ConnectionError, Rex::ConnectionTimeout, ::Timeout::Error => e
|
||||
result_options.merge!(
|
||||
proof: e.message,
|
||||
status: :connection_error
|
||||
|
|
Loading…
Reference in New Issue