import "@sentry/tracing";

import * as Sentry from "@sentry/bun";

import { env } from "@/env";

Sentry.init({
    dsn: env.SENTRY_DSN,
    enabled: env.SENTRY_ENABLED,
    environment: env.SENTRY_ENVIRONMENT,
    tracesSampleRate: env.SENTRY_TRACE_SAMPLE_RATE,
    release: env.VERSION,
});
