mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
fix up minor type - AnsibleException should be AnsibleError
This commit is contained in:
@@ -84,7 +84,7 @@ class ParamikoConnection(object):
|
||||
try:
|
||||
sftp.put(in_path, out_path)
|
||||
except IOError:
|
||||
raise errors.AnsibleException("failed to transfer file to %s" % out_path)
|
||||
raise errors.AnsibleError("failed to transfer file to %s" % out_path)
|
||||
sftp.close()
|
||||
|
||||
def close(self):
|
||||
|
||||
Reference in New Issue
Block a user