2e135346cf
Stack trace disappears when error is converted to string. I changed the types in `log.ts` to match `console.log`/`console.error`/`console.warn`. fixes #31591
12 lines
205 B
JavaScript
12 lines
205 B
JavaScript
export default function Page() {
|
|
return <p>getServerSideProps page</p>
|
|
}
|
|
|
|
export async function getServerSideProps() {
|
|
setTimeout(() => {
|
|
throw new Error()
|
|
}, 10)
|
|
return {
|
|
props: {},
|
|
}
|
|
}
|