changeset 7665 | 0cd299c16f12 |
parent 7650 | 278fe9c1f3ad |
child 7815 | 2a164a9cf81c |
--- a/dbapi.py Mon Jul 18 15:48:09 2011 +0200 +++ b/dbapi.py Mon Jul 18 15:48:34 2011 +0200 @@ -483,7 +483,7 @@ def check_not_closed(func): def decorator(self, *args, **kwargs): if self._closed is not None: - raise ProgrammingError('Closed connection') + raise ProgrammingError('Closed connection %s' % self.sessionid) return func(self, *args, **kwargs) return decorator