Skip to content

Commit

Permalink
return partial DRs on error
Browse files Browse the repository at this point in the history
  • Loading branch information
mildwonkey committed Nov 4, 2024
1 parent 98022e9 commit 0b034b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkg/domains/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (a ApiDomain) makeRequests(ctx context.Context) (types.DomainResources, err
responseType, err = doHTTPReq(ctx, client, *request.reqURL, request.Options.Headers, request.reqParameters, responseType)
}
if err != nil {
return nil, err
return collection, err
}
collection[request.Name] = responseType
}
Expand Down

0 comments on commit 0b034b4

Please sign in to comment.