From d0f740d16b48159f4923b0bc95a09b83880e7554 Mon Sep 17 00:00:00 2001 From: FleetAdmiralJakob Date: Thu, 13 Jun 2024 15:55:19 +0200 Subject: [PATCH] fix: track status and statusText in axiom --- packages/api/src/routers/weather.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/api/src/routers/weather.ts b/packages/api/src/routers/weather.ts index 3229c327..826d8181 100644 --- a/packages/api/src/routers/weather.ts +++ b/packages/api/src/routers/weather.ts @@ -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}`, {