logging improvements

This commit is contained in:
1e99 2024-11-08 16:11:57 +01:00
parent ced07b2dd8
commit e51a5f4fd7

View file

@ -17,7 +17,7 @@ func Env(name string, out any, def string) {
case *int: case *int:
i, err := strconv.ParseInt(raw, 10, 64) i, err := strconv.ParseInt(raw, 10, 64)
if err != nil { if err != nil {
log.Printf("\"%s\" is not a number.", name) log.Printf("\"%s\" is not a number (\"%s\").", name, raw)
return return
} }