2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-11 10:18:10 +00:00

azure: Improve error message in azure.Create()

This commit is contained in:
Leo R. Lundgren 2024-06-03 23:37:17 +02:00
parent 660679c2f6
commit b2bbbe805f

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