Skip to content

Commit

Permalink
[Chore] : 빌드로그에서 vercel 환경변수 볼 수 있도록 하기 (#84)
Browse files Browse the repository at this point in the history
* fix: 논리 테스트

* fix: sentry 논리판단 되돌리기

* chore: console 테스트
  • Loading branch information
eugene028 authored Aug 5, 2024
1 parent d0ec09d commit b44b0ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const setSentry = () => {
function initSentry() {
if (process.env.NODE_ENV === 'development') return;

console.log(`VERCEL ENV : ${process.env.VERCEL_ENV}`);
Sentry.init({
environment: process.env.VERCEL_ENV,
dsn: SENTRY_DSN_KEY,
Expand Down

0 comments on commit b44b0ff

Please sign in to comment.