Skip to content

Commit

Permalink
Merge branch 'GDSC-Hongik:dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
GDSChongik authored Aug 25, 2024
2 parents fbec738 + 5006fa3 commit 2b947a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/utils/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ import {
} from 'react-router-dom';
import { VITE_SENTRY_DSN_KEY } from '@/constants/environment';

console.log(VITE_SENTRY_DSN_KEY);
console.log(process.env.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 2b947a5

Please sign in to comment.