We have built our website using ISR approach on Nuxt, and we’re handing our errors with a “error.vue” page on our application root folder. This approach isn’t catching the 10 seconds timeout error that sometime is triggered on SSR, and that we’re debugging.
We’ve already tried adding redirects on netlify.toml:
[[redirects]]
from = “/"
to = “/error”
status = 500
[[redirects]]
from = "/”
to = “/error”
status = 501
[[redirects]]
from = “/"
to = “/error”
status = 502
[[redirects]]
from = "/”
to = “/error”
status = 503
and putting an hook on vue:error:
nuxtApp.hook(“vue:error”, (…_args) => {
console.log(“vue:error”)
console.log(JSON.stringify(_args))
})
Neither of the two is catching the timeout error.
Is there some documentation on how to customize the timeout error page or, even better, how to handle a timeout error in our application?