Adjust how error message is caught and displayed

This commit is contained in:
NI
2019-09-14 21:30:49 +08:00
parent 6b5c444f45
commit d9d0170d1a
8 changed files with 94 additions and 60 deletions

View File

@@ -167,7 +167,7 @@ export function build(ctx) {
this.message = "ERR";
this.classStyle = "red flash";
this.windowClass = "red";
this.status.description = connectionStatusDisconnected + ". Error: " + e;
this.status.description = connectionStatusDisconnected + ": " + e;
},
failed(e) {
ctx.connector.inputting = false;