enhance error handling
This commit is contained in:
parent
f731df125e
commit
f063c06751
17 changed files with 62 additions and 52 deletions
|
|
@ -28,7 +28,8 @@ angular.module('copayApp.controllers').controller('preferencesFeeController', fu
|
|||
feeService.getFeeLevels(function(err, levels) {
|
||||
$scope.loadingFee = false;
|
||||
if (err) {
|
||||
popupService.showAlert(gettextCatalog.getString('Error'), err);
|
||||
//Error is already formatted
|
||||
popupService.showAlert(err);
|
||||
return;
|
||||
}
|
||||
$scope.feeLevels = levels;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue