Skip to content

Sentry browser SDK + ErrorBoundary component #3787

Closed

Description

@PierreBrisorgueil

Phase 5 — Logging & Monitoring

What

  • Add @sentry/vue dependency
  • New src/lib/plugins/sentry.js — Vue plugin (same pattern as PostHog), init with router integration for perf tracking
  • New src/modules/app/components/app.errorBoundary.component.vue — catches render errors, shows friendly UI, reports to Sentry
  • Register plugin in main.js
  • Config-driven: no-op when DSN is empty

Config

analytics: {
  posthog: { ... },  // existing
  sentry: { dsn: '', environment: 'development', enabled: false }
}

Acceptance

  • Sentry captures JS exceptions and Vue component errors
  • Router performance tracking (page load, navigation)
  • ErrorBoundary shows user-friendly fallback on render crash
  • No-op when DSN empty or enabled: false

Activity

  1. added a commit that references this issue on Mar 26, 2026
    69cfd9f
  2. added a commit that references this issue on Apr 1, 2026
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