Skip to content

Commit

Permalink
chore: Add failed offer lookup error logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Jan 30, 2025
1 parent ae7755a commit c0ce9b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/solver/matcher/matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func GetMatchingDeals(
OrderOldestFirst: true,
})
if err != nil {
log.Error("get resource offers failed", err)
span.SetStatus(codes.Error, "get resource offers failed")
span.RecordError(err)
return nil, err
Expand All @@ -53,6 +54,7 @@ func GetMatchingDeals(
OrderOldestFirst: true,
})
if err != nil {
log.Error("get job offers failed", err)
span.SetStatus(codes.Error, "get job offers failed")
span.RecordError(err)
return nil, err
Expand Down

0 comments on commit c0ce9b4

Please sign in to comment.