import * as Sentry from '@sentry/node';

Sentry.init({
  dsn: process.env.SENTRY_DSN,
  environment: process.env.NODE_ENV ?? 'development',
  enabled: !!process.env.SENTRY_DSN,
  tracesSampleRate: 0,
});
Sentry.captureException(new Error('Test from Effigenix TUI')); await
  Sentry.flush(2000); console.log('Event sent');
