From 3c8a9b75c1a45d95e2524f3db05093f3590ee97d Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Thu, 29 Oct 2015 12:09:04 -0300 Subject: [PATCH] add logs --- src/js/services/storageService.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/services/storageService.js b/src/js/services/storageService.js index ec246abfe..8cb7c947b 100644 --- a/src/js/services/storageService.js +++ b/src/js/services/storageService.js @@ -48,12 +48,14 @@ angular.module('copayApp.services') $log.debug('Profile is encrypted'); getUUID(function(uuid) { + $log.debug('Device UUID:' + uuid); if (!uuid) return cb('Could not decrypt storage: could not get device ID'); try { text = sjcl.decrypt(uuid, text); } catch(e) { + $log.warn('Decrypt error: ', e); return cb('Could not decrypt storage: device ID mismatch'); }; return cb(null, text);