fix logRpc exception