# HG changeset patch # User Laurent Peuch # Date 1575567480 -3600 # Node ID 91e2625565731c15c52dfdb9342f95ae4a65262f # Parent 8cf02773a6b3a2655f028f254af98caa44298a35 [refactoring] don't hide exceptions diff -r 8cf02773a6b3 -r 91e262556573 cubicweb/server/repository.py --- a/cubicweb/server/repository.py Thu Dec 05 18:37:27 2019 +0100 +++ b/cubicweb/server/repository.py Thu Dec 05 18:38:00 2019 +0100 @@ -196,8 +196,8 @@ try: cnxset.close(True) - except Exception: - self.exception('error while closing %s' % cnxset) + except Exception as e: + self.exception('error while closing %s, error: %s' % (cnxset, e)) class Repository(object):