Improve failed to fetch RSC error (#56517)
Ensures the specific URL that failed is highlighted in this error. Useful for debugging when the fetch fails.
This commit is contained in:
parent
5aca71cfa6
commit
61122ebc40
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ export async function fetchServerResponse(
|
|||
return [flightData, canonicalUrl]
|
||||
} catch (err) {
|
||||
console.error(
|
||||
'Failed to fetch RSC payload. Falling back to browser navigation.',
|
||||
`Failed to fetch RSC payload for ${url}. Falling back to browser navigation.`,
|
||||
err
|
||||
)
|
||||
// If fetch fails handle it like a mpa navigation
|
||||
|
|
Loading…
Reference in a new issue