mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
68626c5147
* Handle production errors correctly * Improved source map support * Make react-hot-loader hold state again * Remove console.log * Load modules on demand * Catch errors in rewriteErrorTrace * Update comment * Update comment * Remove source-map-support * Load modules in next-dev * Make sure error logged has sourcemaps too * Add tests for production runtime errors * Add tests for development runtime errors. Fix issue with client side errors in development * Move functionality back to renderError now that error handling is consistent * Rename to applySourcemaps
7 lines
160 B
JavaScript
7 lines
160 B
JavaScript
import React from 'react'
|
|
export default class ErrorInRenderPage extends React.Component {
|
|
render () {
|
|
throw new Error('An Expected error occured')
|
|
}
|
|
}
|