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 <>
Reviewed-by: default avatarMichele Tartara <>
Reviewed-by: default avatarGuido Trotter <>
parent ef66500f
...@@ -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])
[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