Commit 64db3274 by guersam

Fix: raise correct error in accelerate mode

parent 7e849ac7
......@@ -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