Skip to content

Commit 2a6e564

Browse files
committed
Print error name and message
1 parent 97b1315 commit 2a6e564

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/server/serverRender.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ const serverRender = async ({ url, loggedIn, cookie }: SSROption) => {
101101
);
102102
if (notFound) store.dispatch(error.actions.showNotFound());
103103
}
104+
console.log(e.name);
105+
console.log(e.message);
104106
console.log(JSON.stringify(e));
105107
}
106108

0 commit comments

Comments
 (0)