mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-17 02:29:10 +00:00
finish off error handling
This commit is contained in:
parent
02056c5faf
commit
1b8d90b24b
2 changed files with 24 additions and 3 deletions
|
@ -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>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue