// Sentry error tracking integration
import * as Sentry from '@sentry/browser';

export function initSentry() {
  Sentry.init({ dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0' });
}

export function captureError(error: Error, context?: Record<string, any>) {
  Sentry.captureException(error, { extra: context });
}
