2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +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