logging improvements
This commit is contained in:
parent
ced07b2dd8
commit
e51a5f4fd7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue