From b0fa062475f5a19c35d0b368d4d7f513de63a83f Mon Sep 17 00:00:00 2001 From: Artanicus Date: Sat, 7 Jan 2023 21:27:24 +0200 Subject: [PATCH] Don't assume all config read errors are missing files, print error Fixes #18 --- cli/daemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/daemon.go b/cli/daemon.go index b2b87e6..c52b464 100644 --- a/cli/daemon.go +++ b/cli/daemon.go @@ -45,7 +45,7 @@ func (c *DaemonCommand) boot() (err error) { // Always try to read the config file, as there are options such as globals or some tasks that can be specified there and not in docker config, err := BuildFromFile(c.ConfigFile, c.Logger) if err != nil { - c.Logger.Debugf("Config file: %v not found", c.ConfigFile) + c.Logger.Debugf("Cannot read config file: %q", err) } err = config.InitializeApp(c.DisableDocker)