diff --git a/src/components/errors/ErrorDebug.tsx b/src/components/errors/ErrorDebug.tsx index 7a5fa67e5..5d5a7344c 100644 --- a/src/components/errors/ErrorDebug.tsx +++ b/src/components/errors/ErrorDebug.tsx @@ -16,7 +16,7 @@ type Props = { */ const ErrorDebug = (props: Props): JSX.Element => { const { error, context }: Props = props; - const { message, stack } = error; + const { message, stack } = error || {}; let stringifiedContext; try {