mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
if the transport is wrong we should throw a clienterrror
This commit is contained in:
parent
99a936e952
commit
0c4959bb4a
@ -878,6 +878,9 @@ class SaltMessageClient(object):
|
||||
if self._connecting_future.done():
|
||||
self._connecting_future = self.connect()
|
||||
yield self._connecting_future
|
||||
except TypeError:
|
||||
# This is an invalid transport
|
||||
raise SaltClientError
|
||||
except Exception as e:
|
||||
log.error('Exception parsing response', exc_info=True)
|
||||
for future in six.itervalues(self.send_future_map):
|
||||
|
Loading…
Reference in New Issue
Block a user