Signed-off-by: Guido Trotter <[email protected]>
---
 lib/watcher/__init__.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/watcher/__init__.py b/lib/watcher/__init__.py
index 323283b..f208c55 100644
--- a/lib/watcher/__init__.py
+++ b/lib/watcher/__init__.py
@@ -106,8 +106,8 @@ def RunWatcherHooks():
 
   try:
     results = utils.RunParts(hooks_dir)
-  except Exception: # pylint: disable-msg=W0703
-    logging.exception("RunParts %s failed: %s", hooks_dir)
+  except Exception, err: # pylint: disable-msg=W0703
+    logging.exception("RunParts %s failed: %s", hooks_dir, err)
     return
 
   for (relname, status, runresult) in results:
-- 
1.7.5.4

Reply via email to