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

@ -340,9 +340,7 @@ angular.module('copayApp.controllers').controller('importController',
};
var finish = function(wallet) {
walletService.updateRemotePreferences(wallet, {}, function() {
$log.debug('Remote preferences saved for:' + wallet.credentials.walletId)
});
walletService.updateRemotePreferences(wallet);
profileService.setBackupFlag(wallet.credentials.walletId);
if ($stateParams.fromOnboarding) {