Skip to content

Commit

Permalink
fix(agent.ts): improve error message when fetching agent for ratelimit
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark committed Aug 8, 2024
1 parent 7da0b2b commit 66c6ca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/api/src/pkg/ratelimit/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ export class Agent {
},
body: requestBody,
}).catch((err) => {
this.logger.error("Error in ratelimit", {
this.logger.error("Error fetching agent for ratelimit", {
url,
err,
error: err?.message,
});

throw err;
Expand Down

0 comments on commit 66c6ca3

Please sign in to comment.