private async Task LogError(HttpContext context)
        {
            var url             = context.Request?.GetUri()?.AbsoluteUri;
            var urlWithoutQuery = RequestUtils.GetUrlWithoutQuery(url) ?? "?";
            var body            = await RequestUtils.GetRequestPartialBodyAsync(context);

            _log.Warning(
                "Client request error",
                context: new
            {
                url,
                statusCode = context.Response.StatusCode,
                body
            },
                process: urlWithoutQuery);
        }