Skip to content

4. Add lib/utils/analytics.ts error tracking #373

Description

@DeFiVC

What: Add error tracking utilities for capturing and reporting errors.

Why: Errors need to be tracked for debugging and monitoring. A utility module centralizes error reporting.

Scope: Add functions for: trackError, trackException, trackApiError. Send to error tracking service (Sentry, Bugsnag).

Acceptance criteria:

  • Errors are captured
  • Errors are reported
  • Context is included
  • Privacy is respected

Technical context: src/lib/utils/analytics.ts — analytics utils. src/components/shared/error-boundary.tsx — error boundary.


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