storj / uplink

Storj network Go library
MIT License
122 stars 17 forks source link

Usability improvement: better error message when downloading from non-existent bucket #123

Open Erikvv opened 1 year ago

Erikvv commented 1 year ago

When calling project.DownloadObject(ctx, "mybucket", "myobject", nil) it gives the error uplink: object not found ("myobject")

It makes more sense have an error that the bucket doesn't exist.