File tree Expand file tree Collapse file tree 5 files changed +16
-10
lines changed Expand file tree Collapse file tree 5 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 21
21
"@sentry/node" : " 6.2.1" ,
22
22
"@sentry/react" : " 6.2.1" ,
23
23
"@sentry/next-plugin-sentry" : " 6.2.1" ,
24
- "@sentry/wizard" : " 1.2.0 " ,
25
- "@sentry/webpack-plugin" : " 1.14.1"
24
+ "@sentry/wizard" : " ^ 1.2.1 " ,
25
+ "@sentry/webpack-plugin" : " ^ 1.14.1"
26
26
},
27
27
"devDependencies" : {
28
28
"@sentry/types" : " 6.2.1" ,
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ export function init(options: NextjsOptions): any {
15
15
reactInit ( options ) ;
16
16
} else {
17
17
// eslint-disable-next-line no-console
18
- console . log ( '[Sentry] Detected a non-production environment. Not initializing Sentry.' ) ;
18
+ console . warn ( '[Sentry] Detected a non-production environment. Not initializing Sentry.' ) ;
19
+ // eslint-disable-next-line no-console
20
+ console . warn ( '[Sentry] To use Sentry also in development set `dev: true` in the options.' ) ;
19
21
}
20
22
}
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ export function init(options: NextjsOptions): any {
15
15
nodeInit ( options ) ;
16
16
} else {
17
17
// eslint-disable-next-line no-console
18
- console . log ( '[Sentry] Detected a non-production environment. Not initializing Sentry.' ) ;
18
+ console . warn ( '[Sentry] Detected a non-production environment. Not initializing Sentry.' ) ;
19
+ // eslint-disable-next-line no-console
20
+ console . warn ( '[Sentry] To use Sentry also in development set `dev: true` in the options.' ) ;
19
21
}
20
22
}
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ export function init(options: NextjsOptions): void {
18
18
reactInit ( options ) ;
19
19
} else {
20
20
// eslint-disable-next-line no-console
21
- console . log ( '[Sentry] Detected a non-production environment. Not initializing Sentry.' ) ;
21
+ console . warn ( '[Sentry] Detected a non-production environment. Not initializing Sentry.' ) ;
22
+ // eslint-disable-next-line no-console
23
+ console . warn ( '[Sentry] To use Sentry also in development set `dev: true` in the options.' ) ;
22
24
}
23
25
}
Original file line number Diff line number Diff line change 3387
3387
"@sentry/types" "6.2.1"
3388
3388
tslib "^1.9.3"
3389
3389
3390
-
3390
+ "@sentry/webpack-plugin@^ 1.14.1":
3391
3391
version "1.14.1"
3392
3392
resolved "https://registry.yarnpkg.com/@sentry/webpack-plugin/-/webpack-plugin-1.14.1.tgz#f7aceac17820677f6064293d1f5d01ac72012d14"
3393
3393
integrity sha512-Elxs21Z9hHNd+s9dCFVkbr/xLa+7Pb8zfqSCzvPOraHCBseE2onyzM7gostmxLtInboEwO0yRTQ5ohmfhhpa2A==
3394
3394
dependencies:
3395
3395
"@sentry/cli" "^1.58.0"
3396
3396
3397
-
3398
- version "1.2.0 "
3399
- resolved "https://registry.yarnpkg.com/@sentry/wizard/-/wizard-1.2.0 .tgz#9ed9e0eb8501ef1b94ff6fbea57fffb6ed6a08ae "
3400
- integrity sha512-VxtRO8k4hL1pZ1Nfv9ps5GmMMoKH8b6gMmicrAbXUeO8BHSJ6EOW24OtvRDShvZJ5bxY1lR6f/dUaC7qt1E+MA ==
3397
+ "@sentry/wizard@^ 1.2.1 ":
3398
+ version "1.2.1 "
3399
+ resolved "https://registry.yarnpkg.com/@sentry/wizard/-/wizard-1.2.1 .tgz#693da78bb9f2006e35ea1ec96979a657d57d8e72 "
3400
+ integrity sha512-LcXuhNneg43ecsASXtdQD0fvimCN2VOuB02OQRCLfZbwXZCMSr5qbneL8Umt9Hv3OyW2Ub0K8+KbDN9jzmyLSA ==
3401
3401
dependencies:
3402
3402
"@sentry/cli" "^1.52.4"
3403
3403
chalk "^2.4.1"
You can’t perform that action at this time.
0 commit comments