diff --git a/js/controllers/join.js b/js/controllers/join.js index 9260332eb..a96c9772c 100644 --- a/js/controllers/join.js +++ b/js/controllers/join.js @@ -135,8 +135,9 @@ angular.module('copayApp.controllers').controller('JoinController', notification.error('Network Error', 'Wallet network configuration missmatch'); else if (err === 'badSecret') notification.error('Bad secret', 'The secret string you entered is invalid'); - else - notification.error('Unknown error'); + else { + notification.error('Error', err.message || err); + } controllerUtils.onErrorDigest(); } else { controllerUtils.installWalletHandlers($scope, w); diff --git a/js/services/controllerUtils.js b/js/services/controllerUtils.js index 805cf8567..eb5d46c39 100644 --- a/js/services/controllerUtils.js +++ b/js/services/controllerUtils.js @@ -48,7 +48,6 @@ angular.module('copayApp.services') root.onError = function(scope) { if (scope) scope.loading = false; - root.logout(); } root.onErrorDigest = function(scope, msg) {