1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-21 23:33:03 +00:00

Merge pull request #4847 from rawtaz/azure-error-msg

azure: Improve error message in azure.Create()
This commit is contained in:
Michael Eischer 2024-06-05 20:05:57 +00:00 committed by GitHub
commit ef85a81e83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -161,7 +161,7 @@ func Create(ctx context.Context, cfg Config, rt http.RoundTripper) (*Backend, er
return nil, errors.Wrap(err, "container.Create")
}
} else if err != nil {
return be, err
return be, errors.Wrap(err, "container.GetProperties")
}
return be, nil