Files
Joe HaddadandGitHub 15cdb4f408 Propagate Serverless Errors to Platform (#12841)
In serverless mode, it's best practice to propagate an unhandled error so that the function is disposed instead of recycled. This helps fix the "bad state" problem.
2020-06-01 23:12:45 +00:00

8 lines
122 B
JavaScript

export function getServerSideProps() {
throw new Error('lol')
}
export default function BadGssp() {
return <div />
}