From d89b2f654c72a8eff1864248bd69037f1fb8e6e3 Mon Sep 17 00:00:00 2001 From: Lars Trieloff Date: Tue, 11 Jun 2019 10:04:39 +0000 Subject: [PATCH] fix(error): fix remaining resp --- layouts/fastly/helix.vcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/fastly/helix.vcl b/layouts/fastly/helix.vcl index c39e7734..e5f0fe99 100644 --- a/layouts/fastly/helix.vcl +++ b/layouts/fastly/helix.vcl @@ -652,7 +652,7 @@ sub hlx_deliver_type { * 2. no error page could be found, so set the correct status code and deliver a fallback */ sub hlx_deliver_error { - set req.http.X-Trace = req.http.X-Trace + "; hlx_deliver_error(" + beresp.status + ")"; + set req.http.X-Trace = req.http.X-Trace + "; hlx_deliver_error(" + resp.status + ")"; if (resp.status == 200) { # TODO: fix headers } else {