Improve the error handling to expose and log errors if removing a card fails.
This commit is contained in:
parent
8199badb32
commit
1a2fea578d
4 changed files with 22 additions and 5 deletions
|
|
@ -64,6 +64,8 @@ angular.module('copayApp.controllers').controller('bitpayCardController', functi
|
|||
if (err) {
|
||||
$log.error(err);
|
||||
$scope.error = gettextCatalog.getString('Could not get transactions');
|
||||
self.bitpayCardTransactionHistory = null;
|
||||
self.bitpayCardCurrentBalance = null;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue