[FOLD] log RPC errors