[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:
parent
e1ec3c8b3b
commit
6e9014a879
|
@ -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) {
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue