feat: etcReadError
This commit is contained in:
@@ -38,7 +38,7 @@ func etcdReader(env string) {
|
||||
configMap[string(v.Key)] = string(v.Value)
|
||||
}
|
||||
} else {
|
||||
ctxLogger.Error(nil, "etcdReaderErr", zap.String("reason", err.Error()))
|
||||
ctxLogger.Error(nil, consts.EtcReadError, zap.String("reason", err.Error()))
|
||||
os.Exit(-1)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user