diff --git a/app/client/src/sagas/ErrorSagas.tsx b/app/client/src/sagas/ErrorSagas.tsx index 2fd96971cf..4b6d95d356 100644 --- a/app/client/src/sagas/ErrorSagas.tsx +++ b/app/client/src/sagas/ErrorSagas.tsx @@ -108,7 +108,7 @@ export function* errorSaga( if (show) { effects.push(ErrorEffectTypes.SHOW_ALERT); } - if (error.crash) { + if (error && error.crash) { effects.push(ErrorEffectTypes.SAFE_CRASH); } for (const effect of effects) {