Commit eae0cb5d by James Cammarata

Merge pull request #4029 from guersam/patch-1

Fix: raise correct error in accelerate mode
parents 7e849ac7 64db3274
......@@ -145,7 +145,7 @@ class Connection(object):
data = utils.jsonify(data)
data = utils.encrypt(self.key, 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()
if not response:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment