Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7719850

Browse files
committed
handle sentry init on launch in web
1 parentd484f42 commit7719850

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

‎web-app/src/services/sentry/init.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
import*assentryfrom'@sentry/browser'
22
import{NODE_ENV}from'../../environment'
33

4-
sentry.init({
5-
dsn:'https://701cee76c32a4408b2fcb6af3e139d46@sentry.io/1889371',
6-
environment:NODE_ENV,
7-
})
4+
try{
5+
sentry.init({
6+
dsn:'https://701cee76c32a4408b2fcb6af3e139d46@sentry.io/1889371',
7+
environment:NODE_ENV,
8+
})
9+
}catch(error){
10+
console.log('Error in Sentry init')
11+
console.log(error)
12+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp