Skip to content

Commit 2448370

Browse files
committed
log: error when loading backend config
Signed-off-by: blob42 <[email protected]>
1 parent e9720c3 commit 2448370

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/config/backend_config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ func (cl *BackendConfigLoader) LoadBackendConfig(file string, opts ...ConfigLoad
455455
defer cl.Unlock()
456456
c, err := ReadBackendConfig(file, opts...)
457457
if err != nil {
458+
log.Error().Msgf("backend config reading error: %s", err.Error())
458459
return fmt.Errorf("cannot read config file: %w", err)
459460
}
460461

0 commit comments

Comments
 (0)