fix: backend not reachable should be more descriptive (#13634)

This commit is contained in:
Harshavardhana
2021-11-10 22:33:17 -08:00
committed by GitHub
parent 5acc8c0134
commit 68c5ad83fb
4 changed files with 24 additions and 5 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ func ErrorRespToObjectError(err error, params ...string) error {
}
if xnet.IsNetworkOrHostDown(err, false) {
return BackendDown{}
return BackendDown{Err: err.Error()}
}
minioErr, ok := err.(minio.ErrorResponse)