Skip to content

Commit 5dac261

Browse files
committed
log config error when get env
1 parent a392299 commit 5dac261

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/environment/environment.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ func getEnvironmentFromParams(params kernel.Params) (Environment, error) {
326326
// maybe the node can't reach the internet right now
327327
// this will enforce node to skip config
328328
// or we can keep retrying untill it can fetch config
329+
log.Debug().Err(err).Msg("failed to load config from zos-config, using default config instead")
329330
config = Config{}
330331
}
331332

0 commit comments

Comments
 (0)