mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 20:54:24 -07:00
Fix: raise correct error in accelerate mode
This commit is contained in:
parent
7e849ac7e0
commit
64db327411
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ class Connection(object):
|
||||||
data = utils.jsonify(data)
|
data = utils.jsonify(data)
|
||||||
data = utils.encrypt(self.key, data)
|
data = utils.encrypt(self.key, data)
|
||||||
if self.send_data(data):
|
if self.send_data(data):
|
||||||
raise errors.AnisbleError("Failed to send command to %s" % self.host)
|
raise errors.AnsibleError("Failed to send command to %s" % self.host)
|
||||||
|
|
||||||
response = self.recv_data()
|
response = self.recv_data()
|
||||||
if not response:
|
if not response:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue