summaryrefslogtreecommitdiffstats
path: root/modules/storage/minio.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/storage/minio.go')
-rw-r--r--modules/storage/minio.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/storage/minio.go b/modules/storage/minio.go
index 4a2819de5e..0e0cb3690d 100644
--- a/modules/storage/minio.go
+++ b/modules/storage/minio.go
@@ -32,7 +32,7 @@ type minioObject struct {
func (m *minioObject) Stat() (os.FileInfo, error) {
oi, err := m.Object.Stat()
if err != nil {
- return nil, err
+ return nil, convertMinioErr(err)
}
return &minioFileInfo{oi}, nil