Merge pull request #1942 from matiu/tests_iden

Add tests for plugins
This commit is contained in:
Gustavo Maximiliano Cortez 2014-12-03 17:30:25 -03:00
commit d045fc719e
11 changed files with 224 additions and 111 deletions

View file

@ -46,6 +46,8 @@ angular.module('copayApp.controllers').controller('HomeController', function($sc
$scope.error = 'Invalid email or password';
} else if ((err.toString() || '').match('Connection')) {
$scope.error = 'Could not connect to Insight Server';
} else if ((err.toString() || '').match('Unable')) {
$scope.error = 'Unable to read data from the Insight Server';
} else {
$scope.error = 'Unknown error';
}