Log RPC errors from inside executeRpcCall