fix for undefined access to crash field
This commit is contained in:
parent
7d70a71d70
commit
d228f6d117
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user