I'm currently tracking this stuff:
ctx.log.error(`Zod Errors in the ${errorMessage}`, {
errorIssues: error.issues, // z.ZodIssue[] WORKS ✅
resultStatus: result.status, // "fulfilled" WORKS ✅
resultValue: result.value, // Response NOPE ✂️
status: result.value.status, // number WORKS ✅
statusText: result.value.statusText, // string WORKS ✅
});
But I'm only getting the fields errorIssues, resultStatus, status, statusText in axiom
I'm currently tracking this stuff:
But I'm only getting the fields
errorIssues,resultStatus,status,statusTextin axiom