Astn/JSON-RPC.NET

System.FormatException not handled

pedrolcl opened this issue · 1 comments

When alphabetic values are passed as parameters for a target function which is expecting numbers, a thrown exception is not handled.

For instance, feeding this request to the TestServer_Console.exe:
{'method':'add','params':['a','b'],'id':1}

Produces a System.FormatException in Handler.CleanUpParameter() and a System.AggregateException in Program.ConsoleInput(), without any error output on the console.

Fixed now. Thanks @Astn !