chore: log error server side for error page
This commit is contained in:
parent
125e645ffd
commit
987f58f50b
|
|
@ -9,6 +9,7 @@ export const handler = define.handlers({
|
||||||
|
|
||||||
export default define.page(function ErrorPage(ctx) {
|
export default define.page(function ErrorPage(ctx) {
|
||||||
if (!(ctx.error instanceof HttpError)) {
|
if (!(ctx.error instanceof HttpError)) {
|
||||||
|
console.log('server error', ctx.error)
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<h1>Uknown server error</h1>
|
<h1>Uknown server error</h1>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue