run: improve config load err message
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-05-21 18:59:12 +02:00
parent 874cdcec3a
commit 9972551239
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

4
run.go

@ -93,7 +93,9 @@ func run() error {
conf, err := config.Load(*configFlag, *configIsPathFlag)
if err != nil {
return fmt.Errorf("couldn't load config file '%s', full err: %w", *configFlag, err)
return fmt.Errorf("couldn't load the configuration (isPath: '%t') '%s', full err: %w",
*configIsPathFlag, *configFlag, err,
)
}
setting := settings.New()