fix: sentry import

This commit is contained in:
Tony 2024-03-03 06:03:38 +00:00 committed by GitHub
parent 0d02f04a44
commit 2c771aa0f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
import { MiddlewareHandler } from 'hono';
import logger from '@/utils/logger';
import { config } from '@/config';
import Sentry from '@sentry/node';
import * as Sentry from '@sentry/node';
import { getRouteNameFromPath } from '@/utils/helpers';
if (config.sentry.dsn) {