Fix test for catch error in EntryScene
This commit is contained in:
parent
5ee13d2001
commit
ec2b23f32f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user