Fix test for catch error in EntryScene

This commit is contained in:
CEC 2022-04-14 15:36:05 +02:00
parent 5ee13d2001
commit ec2b23f32f

View File

@ -45,7 +45,7 @@ export class EntryScene extends Scene {
this.scene.start(nextSceneName); this.scene.start(nextSceneName);
}) })
.catch((err) => { .catch((err) => {
if (err.response.data?.code) { if (err?.response?.data?.code) {
errorScreenStore.setError(err.response.data); errorScreenStore.setError(err.response.data);
} else { } else {
ErrorScene.showError(err, this.scene); ErrorScene.showError(err, this.scene);