Skip to content

Commit

Permalink
Add a clearer error
Browse files Browse the repository at this point in the history
I spent 1 hour trying to debug what config was changed. This should give enough clue where to look for
  • Loading branch information
dieend committed Jun 6, 2024
1 parent 5087a69 commit 2fd58be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func parseBucketLookupType(typeStr string) (minio.BucketLookupType, error) {

val, ok := valMap[typeStr]
if !ok {
return 0, fmt.Errorf("Unsupported value: %s", typeStr)
return 0, fmt.Errorf("Unsupported bucket_lookup_type value : %s", typeStr)
}

return val, nil
Expand Down

0 comments on commit 2fd58be

Please sign in to comment.