Fix exception catching when woodchuck is not installed
[feedingit] / src / wc.py
index b061138..c8fd987 100644 (file)
--- a/src/wc.py
+++ b/src/wc.py
@@ -45,7 +45,7 @@ class mywoodchuck (PyWoodchuck):
         try:
             PyWoodchuck.__init__ (self, human_readable_name, identifier,
                                   request_feedback)
-        except woodchuck.Error, e:
+        except Exception, e:
             logger.error(
                 "Failed to establish a connection to the Woodchuck server: %s"
                 % (str(e),))