Skip to content

Telemetry: Replace console.error with captureError in resetPassword landing handler #334

Closed

Description

@ankit-0903

Description

In packages/modelence/src/auth/resetPassword.ts around line 192, console.error is used to log errors in the password reset landing handler.

Most other production error paths were recently updated to use structured logging with captureError from @/telemetry, but this landing handler seems to have been missed.

Expected Behavior

Errors in handleResetPasswordLanding should be captured using captureError so they show up properly in APM telemetry sinks.

Proposed Solution

Import captureError from @/telemetry and replace the console.error call in handleResetPasswordLanding.

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