fix storage pull

This commit is contained in:
Matias Alejo Garcia 2017-02-07 16:13:28 -05:00
commit 2d3da332c4
No known key found for this signature in database
GPG key ID: 02470DB551277AB3

View file

@ -450,7 +450,10 @@ angular.module('copayApp.services')
var allAccounts = {}; var allAccounts = {};
try { try {
allAccounts = JSON.parse(allAccountsStr); allAccounts = JSON.parse(allAccountsStr);
} catch (e) {}; } catch (e) {
$log.error('Bad storage value for bitpayAccount-v2' + allAccountsStr)
return cb(null, {});
};
var anyMigration; var anyMigration;