server/repository.py
branchstable
changeset 5167 529861a73ec8
parent 5115 2e43ef618d14
child 5177 395e1ff018ae
child 5187 5f9a2b32c9e1
--- a/server/repository.py	Tue Apr 06 19:26:28 2010 +0200
+++ b/server/repository.py	Tue Apr 06 19:27:47 2010 +0200
@@ -593,7 +593,7 @@
                 raise
             except:
                 # FIXME: check error to catch internal errors
-                self.exception('unexpected error')
+                self.exception('unexpected error while executing %s with %s', rqlstring, args)
                 raise
         finally:
             session.reset_pool()