Merge pull request #2594 from pileofrogs/unarch_better_error

improved error message when no handler found
This commit is contained in:
Brian Coca 2015-12-01 09:37:23 -08:00
commit 81d599192c

View file

@ -250,7 +250,7 @@ def pick_handler(src, dest, module):
obj = handler(src, dest, module)
if obj.can_handle_archive():
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():