From 66cea8df9d913f1995454caa7ed0589d12ff2e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Baz=C3=A1n?= Date: Thu, 6 Oct 2016 12:17:32 -0300 Subject: [PATCH] add error event --- src/js/services/profileService.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/js/services/profileService.js b/src/js/services/profileService.js index d9e3fc9c8..d4cf3be01 100644 --- a/src/js/services/profileService.js +++ b/src/js/services/profileService.js @@ -333,6 +333,11 @@ angular.module('copayApp.services') }, 100); } }); + + push.on('error', function(e) { + $log.error(e.message); + }); + }; root.loadAndBindProfile = function(cb) {