mirror of https://github.com/restic/restic.git
azure: Improve error message in azure.Create()
This commit is contained in:
parent
660679c2f6
commit
b2bbbe805f
|
@ -161,7 +161,7 @@ func Create(ctx context.Context, cfg Config, rt http.RoundTripper) (*Backend, er
|
||||||
return nil, errors.Wrap(err, "container.Create")
|
return nil, errors.Wrap(err, "container.Create")
|
||||||
}
|
}
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
return be, err
|
return be, errors.Wrap(err, "container.GetProperties")
|
||||||
}
|
}
|
||||||
|
|
||||||
return be, nil
|
return be, nil
|
||||||
|
|
Loading…
Reference in New Issue