We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5eb13f1 commit 658fd0bCopy full SHA for 658fd0b
1 file changed
backends/s3/s3.go
@@ -592,11 +592,11 @@ func errorToMetricsLabel(err error) string {
592
}
593
var dnsErr *net.DNSError
594
if errors.As(err, &dnsErr) {
595
- return dnsErr.Error()
+ return "DNSError"
596
597
var urlErr *url.Error
598
if errors.As(err, &urlErr) {
599
- return urlErr.Err.Error()
+ return "URLError"
600
601
errRes := minio.ToErrorResponse(err)
602
if errRes.Code != "" {
0 commit comments