File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed
packages/nuxt/src/runtime Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export default defineNuxtPlugin(nuxtApp => {
11
11
// @ts -expect-error This import is dynamically resolved at build time (`addTemplate` in module.ts)
12
12
const { default : importedPagesData } = await import ( '#build/sentry--nuxt-pages-data.mjs' ) ;
13
13
buildTimePagesData = importedPagesData || [ ] ;
14
+ logger . log ( 'Imported build-time pages data:' , buildTimePagesData ) ;
14
15
} catch ( error ) {
15
16
buildTimePagesData = [ ] ;
16
17
logger . warn ( 'Failed to import build-time pages data:' , error ) ;
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ export function extractParametrizedRouteFromContext(
29
29
buildTimePagesData : NuxtPageSubset [ ] = [ ] ,
30
30
) : null | { parametrizedRoute : string } {
31
31
if ( ! ssrContextModules || ! currentUrl ) {
32
- logger . warn ( 'SSR context modules or URL is not available.' ) ;
33
32
return null ;
34
33
}
35
34
You can’t perform that action at this time.
0 commit comments