We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92bae86 commit 4466589Copy full SHA for 4466589
1 file changed
OpenFlow/src/public/Controllers.ts
@@ -2198,7 +2198,9 @@ module openflow {
2198
$('#workflowform :button').hide();
2199
$('input[type="submit"]').hide();
2200
if (this.model.state == "failed") {
2201
- if (!this.model.payload) {
+ if ((this.model as any).error != null && (this.model as any).error != "") {
2202
+ this.errormessage = (this.model as any).error;
2203
+ } else if (!this.model.payload) {
2204
this.errormessage = "An unknown error occurred";
2205
} else if (this.model.payload.message != null && this.model.payload.message != "") {
2206
this.errormessage = this.model.payload.message;
0 commit comments