Hosed this file on alfred when rins'ing. Its RO DB access so (hopefullY) doesn't...
[monitor.git] / rt.py
diff --git a/rt.py b/rt.py
index f3ce1ed..0c809b4 100644 (file)
--- a/rt.py
+++ b/rt.py
@@ -77,8 +77,8 @@ def open_rt_db():
                                user=rt_db_constants['RT_DB_USER'],
                                passwd=rt_db_constants['RT_DB_PASSWORD'],
                                db=rt_db_constants['RT_DB_NAME'])
-       except Error:
-               print "Failed to connect to RT database"
+       except Exception, err:
+               print "Failed to connect to RT database: %s" %err
                return -1
 
        return rt_db