Added network error message when joining a wallet

This commit is contained in:
Gustavo Maximiliano Cortez 2014-09-19 11:15:45 -03:00
commit 4989685cb5
2 changed files with 6 additions and 0 deletions

View file

@ -130,6 +130,8 @@ 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 if (err === 'connectionError')
notification.error('Networking Error', 'Could not connect to the Insight server. Check your settings and network configuration');
else
notification.error('Unknown error');
controllerUtils.onErrorDigest();