client: rework promise error handling

This commit is contained in:
rr-
2017-01-08 02:12:38 +01:00
parent 5c0765c30e
commit 8a73f7e400
23 changed files with 107 additions and 199 deletions

View File

@ -31,9 +31,7 @@ class HomeController {
featuringTime: info.featuringTime,
});
},
errorMessage => {
this._homeView.showError(errorMessage);
});
error => this._homeView.showError(error.message));
}
showSuccess(message) {