Skip to content

Axiom can't track a Response field #196

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions