Skip to content

Commit 50c0318

Browse files
committed
More minor fix-ups to some error messages
1 parent 4ab15ca commit 50c0318

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astra/bundle.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ func generateSecureBundleURLWithResponse(url, databaseID, token string, ctx cont
151151
}
152152
res, err := client.GenerateSecureBundleURLWithResponse(ctx, astra.DatabaseIdParam(databaseID))
153153
if err != nil {
154-
return nil, err
154+
return nil, fmt.Errorf("error generating bundle urls: %v", err)
155155
}
156-
156+
157157
if res.StatusCode() != http.StatusOK {
158158
return nil, fmt.Errorf("unable to generate bundle urls, failed with status code %d", res.StatusCode())
159159
}

0 commit comments

Comments
 (0)