NuxtErrorBoundary
does not work properly when ssr is set to false
#24889
Labels
NuxtErrorBoundary
does not work properly when ssr is set to false
#24889
Environment
Reproduction
https://stackblitz.com/edit/github-m29wph?file=pages%2Findex.vue
Describe the bug
Description
NuxtErrorBoundary
component does not work properly under these conditions:ssr: false
NuxtErrorBoundary
component in parent componentProblem
application does not handle component error and just shows error 500 page.
Expectation
NuxtErrorBoundary
should render error slot correctly. application should not show error 500 pageAdditional context
I checked source code of
NuxtErrorBoundary
and noticed that there is a wrong condition for setting errorwhen ssr is false, there is no need to check
nuxtApp.isHydrating
.Logs
No response
The text was updated successfully, but these errors were encountered: