chore: log value separately

This commit is contained in:
andig 2023-02-25 18:03:58 +01:00
parent 1dd831858c
commit 5e5c632ed1

View file

@ -121,7 +121,7 @@ func kv(p util.Param) string {
}
if p.Key == "" && val == "" {
log.ERROR.Printf("invalid key/val for %+v, please report to https://github.com/evcc-io/evcc/issues/6439", p)
log.ERROR.Printf("invalid key/val for %+v %+v, please report to https://github.com/evcc-io/evcc/issues/6439", p, p.Val)
return "\"foo\":\"bar\""
}