Skip to content

Commit fb92cfa

Browse files
committed
chore: add debug log for parse failure
1 parent 02259c7 commit fb92cfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/nextjs/src/server/vercelCronsMonitoring.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ function getVercelCronsConfig(): VercelCronsConfig {
3232
try {
3333
return JSON.parse(globalWithCronsConfig._sentryVercelCronsConfig) as VercelCronsConfig;
3434
} catch {
35+
DEBUG_BUILD && debug.log('[@sentry/nextjs] Failed to parse Vercel crons config');
3536
return undefined;
3637
}
3738
}

0 commit comments

Comments
 (0)