|
|
Patch Set 1 #
Total comments: 2
Patch Set 2 : Send exception.args for error_message #Total messages: 2
|
ced
http://codereview.appspot.com/2321042/diff/1/trytond/protocols/jsonrpc.py File trytond/protocols/jsonrpc.py (right): http://codereview.appspot.com/2321042/diff/1/trytond/protocols/jsonrpc.py#newcode111 trytond/protocols/jsonrpc.py:111: try: I think it should not be try/except http://codereview.appspot.com/2321042/diff/1/trytond/protocols/jsonrpc.py#newcode112 ...
|
15 years, 3 months ago (2010年10月04日 16:38:40 UTC) #1 |
http://codereview.appspot.com/2321042/diff/1/trytond/protocols/jsonrpc.py File trytond/protocols/jsonrpc.py (right): http://codereview.appspot.com/2321042/diff/1/trytond/protocols/jsonrpc.py#new... trytond/protocols/jsonrpc.py:111: try: I think it should not be try/except http://codereview.appspot.com/2321042/diff/1/trytond/protocols/jsonrpc.py#new... trytond/protocols/jsonrpc.py:112: response['error_message'] = sys.exc_info()[1][1] Why not (like in netrpc): response['error_message'] = exception.args