mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 15:11:23 -07:00
improved error message when no handler found
This commit is contained in:
parent
3025451b10
commit
579e444243
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ def pick_handler(src, dest, module):
|
||||||
obj = handler(src, dest, module)
|
obj = handler(src, dest, module)
|
||||||
if obj.can_handle_archive():
|
if obj.can_handle_archive():
|
||||||
return obj
|
return obj
|
||||||
module.fail_json(msg='Failed to find handler to unarchive. Make sure the required command to extract the file is installed.')
|
module.fail_json(msg='Failed to find handler for "%s". Make sure the required command to extract the file is installed.' % src)
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue