[json controller] fix .exception call msg format string (missing one slot) stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 25 May 2011 13:36:25 +0200
branchstable
changeset 7435 a2c83140794e
parent 7434 17ef6f9efaa1
child 7436 28ec860c4436
child 7437 a1f48d7c8a03
[json controller] fix .exception call msg format string (missing one slot)
web/views/basecontrollers.py
--- a/web/views/basecontrollers.py	Wed May 25 12:35:33 2011 +0200
+++ b/web/views/basecontrollers.py	Wed May 25 13:36:25 2011 +0200
@@ -281,7 +281,7 @@
         try:
             args = [json.loads(arg) for arg in args]
         except ValueError, exc:
-            self.exception('error while decoding json arguments for js_%s: %s',
+            self.exception('error while decoding json arguments for js_%s: %s (err: %s)',
                            fname, args, exc)
             raise RemoteCallFailed(exc_message(exc, self._cw.encoding))
         try: