merging from the trunk

bzr revid: mga@tinyerp.com-20090204124233-ityg49wrsc9i471o
This commit is contained in:
mga (Tiny/Axelor)
2009-02-04 18:12:33 +05:30
+3 -2
View File
@@ -116,8 +116,9 @@ class Cursor(object):
try:
res = self._obj.execute(query, params)
except:
log("bad query: %s" % self._obj.query, netsvc.LOG_ERROR)
except Exception, e:
log("bad query: %s" % self._obj.query)
log(e)
raise
if self.sql_log: