File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/nextjs/src/config Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ export type UserSentryOptions = {
139
139
/**
140
140
* Automatically create cron monitors in Sentry for your Vercel Cron Jobs if configured via `vercel.json`.
141
141
*
142
- * Defaults to `true `.
142
+ * Defaults to `false `.
143
143
*/
144
144
automaticVercelMonitors ?: boolean ;
145
145
} ;
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ export function constructWebpackConfigFunction(
220
220
221
221
let vercelCronsConfig : VercelCronsConfig = undefined ;
222
222
try {
223
- if ( process . env . VERCEL && userSentryOptions . automaticVercelMonitors !== false ) {
223
+ if ( process . env . VERCEL && userSentryOptions . automaticVercelMonitors ) {
224
224
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
225
225
vercelCronsConfig = JSON . parse ( fs . readFileSync ( path . join ( process . cwd ( ) , 'vercel.json' ) , 'utf8' ) ) . crons ;
226
226
if ( vercelCronsConfig ) {
You can’t perform that action at this time.
0 commit comments