changeset 11192 | ba952f509af6 |
parent 11057 | 0b59724cb3f2 |
child 11248 | b288debc6736 |
--- a/cubicweb/server/sqlutils.py Tue Mar 15 14:59:24 2016 +0100 +++ b/cubicweb/server/sqlutils.py Fri Mar 04 12:17:58 2016 +0100 @@ -97,7 +97,8 @@ try: # some dbapi modules doesn't accept unicode for sql string execute(str(sql)) - except Exception: + except Exception as ex: + print(ex, file=sys.stderr) if cnx: cnx.rollback() failed.append(sql)