Skip to content

Add monitoring: track failed contract calls with Sentry #757

@Ejirowebfi

Description

@Ejirowebfi

Description

frontend/src/lib/monitoring/ exists but error tracking for failed contract calls is not wired up. Silent failures make it hard to detect production issues.

Tasks

  • Integrate Sentry (or the existing monitoring lib) in stellar.ts service methods
  • Capture exceptions with context: network, contract ID, function name
  • Scrub wallet addresses from Sentry payloads before sending
  • Add VITE_SENTRY_DSN to .env.example and envValidation.ts

Acceptance Criteria

  • Failed RPC calls are captured in Sentry with function context
  • Wallet addresses are not sent to Sentry
  • Missing VITE_SENTRY_DSN does not crash the app (monitoring is optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions