This commit is contained in:
Ali Abid 2020-07-07 07:27:07 -07:00
parent 5c279d2253
commit 80f4232a64
2 changed files with 4 additions and 2 deletions

View File

@ -27,7 +27,8 @@ var io_master_template = {
}
this.fn(this.last_input).then((output) => {
io.output(output);
}).catch(() => {
}).catch((error) => {
console.error(error)
this.target.find(".loading_in_progress").hide();
this.target.find(".loading_failed").show();
})

View File

@ -27,7 +27,8 @@ var io_master_template = {
}
this.fn(this.last_input).then((output) => {
io.output(output);
}).catch(() => {
}).catch((error) => {
console.error(error)
this.target.find(".loading_in_progress").hide();
this.target.find(".loading_failed").show();
})