diff --git a/.DS_Store b/.DS_Store index 2c62f50..1336c37 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/storage/http/item.go b/storage/http/item.go index 66731f4..dfd3f54 100644 --- a/storage/http/item.go +++ b/storage/http/item.go @@ -73,6 +73,10 @@ func (i *item) Open() (io.ReadCloser, error) { } response, err := i.client.Do(req) + if err != nil { + return nil, err + } + return response.Body, err }