Log RPC errors from inside executeRpcCall
authorMichele Tartara <mtartara@google.com>
Wed, 10 Jul 2013 14:48:05 +0000 (14:48 +0000)
committerMichele Tartara <mtartara@google.com>
Thu, 11 Jul 2013 11:42:17 +0000 (13:42 +0200)
commitc393abbf8cbb017646e323de242b20bd97fe3873
treef4a9d59f1ff46666835739a39dbffc540afce671
parenta246ce76cdaf709402491ea0d5bff5e9f696830b
Log RPC errors from inside executeRpcCall

executeRpcCall is the function to be used for executing RPCs, so it makes sense
to use it as the single point for logging all thte RPC call errors.

Fixes Issue 293.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
src/Ganeti/Query/Node.hs
src/Ganeti/Rpc.hs