mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
Enhance fatal errors printing of common issues seen by users (#5878)
This commit is contained in:
@@ -287,7 +287,7 @@ func getValidConfig() (*serverConfig, error) {
|
||||
func loadConfig() error {
|
||||
srvCfg, err := getValidConfig()
|
||||
if err != nil {
|
||||
return err
|
||||
return uiErrInvalidConfig(nil).Msg(err.Error())
|
||||
}
|
||||
|
||||
// If env is set override the credentials from config file.
|
||||
|
||||
Reference in New Issue
Block a user