Handle errors when processing wizard steps

Closes #13906
(grafted from ab4ac9e315c67207a0855e4314689260ab0b59ba)

--HG--
branch : 6.0
This commit is contained in:
Nicolas Évrard committed 2025-02-13 18:35:32 +01:00
1 parent c3512ef6a5
commit 044b2b2c37
2 files changed
+7 -2

No files matched your search

+3 -1
View File
@@ -97,7 +97,9 @@
}
} else {
Sao.common.error.run(data.error[0], data.error[1])
.always(dfd.reject);
.always(function() {
dfd.reject(data.error);
});
}
} else {
result = data.result;
+4 -1
View File
@@ -106,7 +106,10 @@
}
this.__processing = false;
}.bind(this), function(result) {
// TODO end for server error.
if (!result || !this.screen) {
this.state = this.end_state;
this.end();
}
this.__processing = false;
}.bind(this));
};