[IMP] display all of error.data on RPC error by default, don't display the error object itself

bzr revid: xmo@openerp.com-20110317142220-ypr1lvhla6zawydv
This commit is contained in:
Xavier Morel 2011-03-17 15:22:20 +01:00
parent e1ec3c8b3b
commit 6e9014a879
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ openerp.base.Session = openerp.base.BasicController.extend({
},
on_rpc_error: function(error) {
// TODO this should use the $element with focus and button is displaying OPW etc...
this.on_log(error, error.message, error.data.type, error.data.debug);
this.on_log(error.message, error.data);
},
on_session_invalid: function(contination) {
},