fix alert messages
This commit is contained in:
parent
4f81b1f39b
commit
f6806fcdf3
11 changed files with 38 additions and 33 deletions
|
|
@ -83,11 +83,11 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
|||
wallet.notAuthorized = true;
|
||||
$state.go('tabs.home');
|
||||
} else if (err instanceof errors.NOT_FOUND) {
|
||||
popupService.showAlert(gettextCatalog.getString('Could not access Wallet Service: Not found'));
|
||||
popupService.showAlert(gettextCatalog.getString('Error'), gettextCatalog.getString('Could not access Wallet Service: Not found'));
|
||||
} else {
|
||||
var msg = ""
|
||||
$rootScope.$emit('Local/ClientError', (err.error ? err.error : err));
|
||||
popupService.showAlert(bwcError.msg(err, gettextCatalog.getString('Error at Wallet Service')));
|
||||
popupService.showAlert(gettextCatalog.getString('Error'), bwcError.msg(err, gettextCatalog.getString('Error at Wallet Service')));
|
||||
}
|
||||
};
|
||||
root.handleError = lodash.debounce(_handleError, 1000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue