Skip to content

Commit

Permalink
update log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Jan 31, 2024
1 parent 3c121ad commit 0654550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fastify-plugins/maps/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 0654550

Please sign in to comment.