Static GitHub Issues

[3263] Exception crashes the whole application (solved)

prev: renderAndGetWindow arg #2 not work
next: Don't overwrite .wasm and .mjs support in webpack 4 with extensions

Version

v1.4.0

Reproduction link

https://jsfiddle.net/tco1q3hs/

Steps to reproduce

I'v made simple component that looks like this:

export default { async created() { setTimeout(() => { throw Error(123); }, 5000); } };

And this component crashes nuxt application. Is it possible to catch this types of error?

What is expected ?

The application continues to work

What is actually happening?

The application crashes

<!--cmty--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c6964">#c6964</a>)</em></sub></div>