jade-service-runner icon indicating copy to clipboard operation
jade-service-runner copied to clipboard

Error handling in jade-service-runner `serviceManager`

Open bakon11 opened this issue 5 years ago • 1 comments

Describe the bug When making request to jade-service-runner to start new service. Upon an error returns { "id": 1, "jsonrpc": "2.0", "result": { "error": { "code": 6969, "message": "unknown error" } } }

To Reproduce Steps to reproduce the behavior: Make call to start service that isn't installed { "jsonrpc": "2.0", "method": "startService", "params": ["multi-geth", "1.9.2", "kotti"], "id": 1 }

bakon11 avatar Oct 07 '19 22:10 bakon11

Just dropping this comment here. The error message should use the new standard JSONRPCError framing from serverjs and include better messaging.

zcstarr avatar Oct 07 '19 23:10 zcstarr