Skip to content

Commit 8bf9820

Browse files
committed
add/remove logs
1 parent d392ec5 commit 8bf9820

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/nuxt/src/runtime/plugins/route-detector.server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default defineNuxtPlugin(nuxtApp => {
1111
// @ts-expect-error This import is dynamically resolved at build time (`addTemplate` in module.ts)
1212
const { default: importedPagesData } = await import('#build/sentry--nuxt-pages-data.mjs');
1313
buildTimePagesData = importedPagesData || [];
14+
logger.log('Imported build-time pages data:', buildTimePagesData);
1415
} catch (error) {
1516
buildTimePagesData = [];
1617
logger.warn('Failed to import build-time pages data:', error);

packages/nuxt/src/runtime/utils/route-extraction.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export function extractParametrizedRouteFromContext(
2929
buildTimePagesData: NuxtPageSubset[] = [],
3030
): null | { parametrizedRoute: string } {
3131
if (!ssrContextModules || !currentUrl) {
32-
logger.warn('SSR context modules or URL is not available.');
3332
return null;
3433
}
3534

0 commit comments

Comments
 (0)