enhance error handling

This commit is contained in:
Matias Alejo Garcia 2017-01-16 16:00:09 -03:00
commit f063c06751
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
17 changed files with 62 additions and 52 deletions

View file

@ -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;