handling new errors
This commit is contained in:
parent
81dcbbc5b4
commit
3e1c91f19d
5 changed files with 23 additions and 20 deletions
|
|
@ -48,7 +48,7 @@ angular.module('copayApp.services')
|
|||
opts.type = isMobile.iOS() ? "ios" : isMobile.Android() ? "android" : null;
|
||||
opts.token = token;
|
||||
root.subscribe(opts, walletClient, function(err, response) {
|
||||
if (err) $log.warn('Subscription error: ' + err.code);
|
||||
if (err) $log.warn('Subscription error: ' + err.message);
|
||||
else $log.debug('Subscribed to push notifications service: ' + JSON.stringify(response));
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue