Skip to content

Commit

Permalink
fix: track status and statusText in axiom
Browse files Browse the repository at this point in the history
  • Loading branch information
FleetAdmiralJakob committed Jun 13, 2024
1 parent 533c405 commit d0f740d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/api/src/routers/weather.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ export const weatherRouter = createTRPCRouter({
errorIssues: error.issues,
resultStatus: result.status,
resultValue: result.value,
status: result.value.status,
statusText: result.value.statusText,
});
} else {
ctx.log.error(`Else Error in the ${errorMessage}`, {
Expand Down

0 comments on commit d0f740d

Please sign in to comment.