✘ [ERROR] Could not resolve "node:url" node_modules/.deno/tough-cookie@5.0.0/node_modules/tough-cookie/dist/cookie/canonicalDomain.js:5:27: 5 │ const node_url_1 = require("node:url");
captureConsoleIntegration
captureException
import Env from '@/env.ts';import * as Sentry from "@sentry/deno";if (Env.SENTRY_DSN) { Sentry.init({ dsn: Env.SENTRY_DSN, // Set tracesSampleRate to 1.0 to capture 100% // of transactions for performance monitoring. // We recommend adjusting this value in production tracesSampleRate: 1.0, integrations: [ Sentry.denoCronIntegration(), Sentry.captureConsoleIntegration({levels: ['error']}) ], });}console.error("hahaha")// throw new Error('test 1')try { throw Error("test 2")} catch (error) { Sentry.captureException(error)}