branch | stable |
changeset 7499 | 96412cfc28e2 |
parent 6958 | 861251f125cf |
child 7514 | 32081892850e |
child 7526 | ae31063f3274 |
--- a/server/sources/pyrorql.py Tue Jun 14 11:54:41 2011 +0200 +++ b/server/sources/pyrorql.py Tue Jun 14 13:43:36 2011 +0200 @@ -312,9 +312,8 @@ def get_connection(self): try: return self._get_connection() - except (ConnectionError, PyroError): - self.critical("can't get connection to source %s", self.uri, - exc_info=1) + except (ConnectionError, PyroError), ex: + self.critical("can't get connection to source %s: %s", self.uri, ex) return ConnectionWrapper() def check_connection(self, cnx):