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

fix(loki-docker-devenv): fix undefined variable in error message
This commit is contained in:
Matias Chomicki 2023-01-26 17:15:11 +01:00 committed by GitHub
parent 16b816972b
commit 641a7182e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 :-(