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 = {
139139 /**
140140 * Automatically create cron monitors in Sentry for your Vercel Cron Jobs if configured via `vercel.json`.
141141 *
142- * Defaults to `true `.
142+ * Defaults to `false `.
143143 */
144144 automaticVercelMonitors ?: boolean ;
145145} ;
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ export function constructWebpackConfigFunction(
220220
221221 let vercelCronsConfig : VercelCronsConfig = undefined ;
222222 try {
223- if ( process . env . VERCEL && userSentryOptions . automaticVercelMonitors !== false ) {
223+ if ( process . env . VERCEL && userSentryOptions . automaticVercelMonitors ) {
224224 // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
225225 vercelCronsConfig = JSON . parse ( fs . readFileSync ( path . join ( process . cwd ( ) , 'vercel.json' ) , 'utf8' ) ) . crons ;
226226 if ( vercelCronsConfig ) {
You can’t perform that action at this time.
0 commit comments