in trunk. thanks.
On Nov 14, 4:42 pm, Matt <mjwat...@gmail.com> wrote: > Hi Massimo, > > There's a small bug in this code. > > The line (3491) in Tools.py > > except Service.JsonRpcException, e: > --> return return_error(id, e.code, e.info) > > Needs to include the id. As above. > > Cheers, > Matt > > On Nov 12, 9:12 am, Matt <mjwat...@gmail.com> wrote: > > > Thanks Massimo :) > > > Will check it out. > > Matt > > > > Ok. In trunk. > > > Please give this a try > > > > raise service.JsonRpcException(100,"info") > > > > On Nov 10, 10:07 pm, Matt <mjwat...@gmail.com> wrote: > > > > Hi there, > > > > > (This is probably more or a small request that a question.) > > > > > The JSON-RPC service by default always returns error codes of 100. > > > > > Can we possibly have this amended so that we could say raise a custom > > > > JsonRpcException (from within our methods) provide a code, and message > > > > and have that code and message returned instead? > > > > > Thoughts? > > > > Matt > >