rsnext/test/integration/basic/pages/error-inside-page.js
Arunoda Susiripala 77c8677e58
Fix SSR error handling in the global scope (#3877)
* Fix SSR error handling.

* Remove unwanted console.logs

* Fix a typo.

* Fix current tests.

* Add a new test case for this case.

* Error should only be logged if it is not a 404
2018-02-24 18:49:08 +05:30

3 lines
72 B
JavaScript

export default () => {
throw new Error('This is an expected error')
}