From bfa7cdb5c4ecde7e0f75a8ca2bc89dcf70207317 Mon Sep 17 00:00:00 2001
From: Dylan Martin <dmartin@seattlecentral.edu>
Date: Mon, 30 Nov 2015 11:47:38 -0800
Subject: [PATCH] improved error message when no handler found

---
 files/unarchive.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files/unarchive.py b/files/unarchive.py
index ac35ea58d88..d5df63a8def 100644
--- a/files/unarchive.py
+++ b/files/unarchive.py
@@ -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():