add handler for insight-error
This commit is contained in:
parent
a37e31ec80
commit
8604fe27ca
3 changed files with 15 additions and 11 deletions
|
|
@ -120,7 +120,7 @@ angular.module('copayApp.controllers').controller('JoinController',
|
|||
$scope.loading = false;
|
||||
if (err || !w) {
|
||||
if (err === 'joinError')
|
||||
notification.error('Can\'t find peer.');
|
||||
notification.error('Fatal error connecting to Insight server');
|
||||
else if (err === 'walletFull')
|
||||
notification.error('The wallet is full');
|
||||
else if (err === 'badNetwork')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue