From 28125773c8aef6525fc773c2b4838cba4c6deb10 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Mon, 27 Apr 2015 11:28:11 -0300 Subject: [PATCH] add logs --- src/js/services/fileStorage.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/js/services/fileStorage.js b/src/js/services/fileStorage.js index 6caf360d1..b669e2686 100644 --- a/src/js/services/fileStorage.js +++ b/src/js/services/fileStorage.js @@ -102,6 +102,9 @@ angular.module('copayApp.services') // url = 'ms-appdata:///local/'; window.resolveLocalFileSystemURL(url, function(dir) { return cb(null, dir); + }, function(err) { + $log.warn(err); + return cb(err || 'Could not resolve filesystem:' + url); }); };