Skip to content

Commit

Permalink
fix: 키 문제 확인
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene028 committed Aug 25, 2024
1 parent 93a44e8 commit 5cca7c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import {
} from 'react-router-dom';
import { VITE_SENTRY_DSN_KEY } from '@/constants/environment';

console.log(VITE_SENTRY_DSN_KEY);

const setSentry = () => {
function initSentry() {
if (process.env.NODE_ENV === 'development') return;

Sentry.init({
environment: process.env.NODE_ENV,
dsn: VITE_SENTRY_DSN_KEY || process.env.VITE_SENTRY_DSN_KEY,
Expand Down

0 comments on commit 5cca7c6

Please sign in to comment.