Loki Docker Devenv: Fix undefined variable in error message (#62242)

fix(loki-docker-devenv): fix undefined variable in error message
pull/62033/head
Matias Chomicki 2 years ago committed by GitHub
parent 16b816972b
commit 641a7182e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      devenv/docker/blocks/loki/data/data.js

@ -96,7 +96,7 @@ function escapeLogFmtKey(key) {
function escapeLogFmtValue(value) {
if (logFmtProblemRe.test(value)) {
throw new Error(`invalid logfmt-value: ${key}`)
throw new Error(`invalid logfmt-value: ${value}`)
}
// we must handle the space-character because we have values with spaces :-(

Loading…
Cancel
Save