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
......@@ -52,4 +52,6 @@ main = do
mapM (getNode cfg) nodes
results <- executeRpcCall nodes' call
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]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment