We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c387129 commit cd52bb2Copy full SHA for cd52bb2
1 file changed
src/app/layout.tsx
@@ -142,7 +142,7 @@ const toastHandler = (error: Error | GraphQLFormattedError) => {
142
console.error("[ERROR]", error)
143
if (error && "errorCode" in error) {
144
addIslandErrorNotification({
145
- message: ErrorCodeDescription[(error.errorCode as string)]
+ message: ErrorCodeDescription[(error.errorCode as string)] ?? "Internal error"
146
})
147
} else {
148
0 commit comments