Skip to content
Snippets Groups Projects
Commit 4d829f55 authored by Iustin Pop's avatar Iustin Pop
Browse files

Small improvement to rpc-test


This will show smaller/better error messages: full node dumps are no
longer included.

Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent ef66500f
No related branches found
No related tags found
No related merge requests found
...@@ -52,4 +52,6 @@ main = do ...@@ -52,4 +52,6 @@ main = do
mapM (getNode cfg) nodes mapM (getNode cfg) nodes
results <- executeRpcCall nodes' call results <- executeRpcCall nodes' call
putStr $ printTable "" ["Node", "Result"] putStr $ printTable "" ["Node", "Result"]
(map (\(n, r) -> [nodeName n, show r]) results) [False, False] (map (\(n, r) -> [nodeName n, either explainRpcError show r])
results)
[False, False]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment