mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client: rework promise error handling
This commit is contained in:
@ -31,9 +31,7 @@ class HomeController {
|
||||
featuringTime: info.featuringTime,
|
||||
});
|
||||
},
|
||||
errorMessage => {
|
||||
this._homeView.showError(errorMessage);
|
||||
});
|
||||
error => this._homeView.showError(error.message));
|
||||
}
|
||||
|
||||
showSuccess(message) {
|
||||
|
Reference in New Issue
Block a user