HomePhabricator

In RPC console, attempt to format errors
b5c1467a7d7dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Aug 31 2012, 15:40
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING576b5efe93cd: Fix RPC console parser to handle escaped arguments more like bash
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rSTAGINGb5c1467a7d7d: In RPC console, attempt to format errors (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Aug 31 2012, 15:41