finish off error handling

This commit is contained in:
41666 2019-03-19 01:14:21 -05:00
parent 02056c5faf
commit 1b8d90b24b
2 changed files with 24 additions and 3 deletions

View file

@ -83,7 +83,7 @@ class RoleypolyApp extends App {
` }} />
</Head>
<Layout user={user} {...layout}>
<ErrorCaughtComponent {...pageProps} router={router} />
<ErrorCaughtComponent {...pageProps} router={router} originalName={Component.displayName || Component.constructor.name} />
</Layout>
</Container>
}