From a6d8c440ddba18bc21af6b6c3b11df3b15ea4610 Mon Sep 17 00:00:00 2001 From: Andrew Chou Date: Wed, 31 Jan 2024 17:51:11 -0500 Subject: [PATCH] update log messages --- src/fastify-plugins/maps/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fastify-plugins/maps/index.js b/src/fastify-plugins/maps/index.js index 0b148dd08..6fc4cfb17 100644 --- a/src/fastify-plugins/maps/index.js +++ b/src/fastify-plugins/maps/index.js @@ -119,11 +119,11 @@ async function routes(fastify, opts) { return upstreamResponse.json() } else { fastify.log.error( - `Upstream style.json request failed: ${upstreamResponse.status} ${upstreamResponse.statusText}` + `Upstream style.json request returned non-2xx status: ${upstreamResponse.status} ${upstreamResponse.statusText}` ) } } catch (err) { - fastify.log.warn('Upstream style.json request totally failed', err) + fastify.log.warn('Failed to make upstream style.json request', err) } }