Merge pull request #4089 from greatroar/errors

Clean up error handling further
This commit is contained in:
Michael Eischer
2022-12-24 10:41:56 +01:00
committed by GitHub
12 changed files with 47 additions and 49 deletions

View File

@@ -52,7 +52,7 @@ func ParseConfig(s string) (interface{}, error) {
// bucket name and prefix
url, err := url.Parse(s[3:])
if err != nil {
return nil, errors.Wrap(err, "url.Parse")
return nil, errors.WithStack(err)
}
if url.Path == "" {