cmd: improve error message for local config loading
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
4cd3466e56
commit
5b57d67b5f
|
@ -27,7 +27,7 @@ func main() {
|
||||||
}
|
}
|
||||||
err = config.LoadConfig("./local.env.yml")
|
err = config.LoadConfig("./local.env.yml")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.WithError(err).Debug("failed to local config")
|
log.WithError(err).Debug("no local config to load")
|
||||||
}
|
}
|
||||||
err = config.FromEnv()
|
err = config.FromEnv()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Reference in New Issue