diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-08-31 17:40:13 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-08-31 17:41:58 +0200 |
| commit | b5c1467a7d7d261de5f87d6f26a00cf5ab230dfb (patch) | |
| tree | 5c8b9337c242909db709c80e55ffaf76ee6d0536 /src/script.cpp | |
| parent | Fix RPC console parser to handle escaped arguments more like bash (diff) | |
| download | discoin-b5c1467a7d7d261de5f87d6f26a00cf5ab230dfb.tar.xz discoin-b5c1467a7d7d261de5f87d6f26a00cf5ab230dfb.zip | |
In RPC console, attempt to format errors
Try to display a nicer message instead of dumping raw JSON object when possible. If the error
somehow doesn't have the required 'code' and 'message' fields, fall back to printing raw JSON object.
Diffstat (limited to 'src/script.cpp')
0 files changed, 0 insertions, 0 deletions