diff --git a/js/controllers/header.js b/js/controllers/header.js
index 7d3d3d692..eeafd4517 100644
--- a/js/controllers/header.js
+++ b/js/controllers/header.js
@@ -49,14 +49,16 @@ angular.module('copayApp.controllers').controller('HeaderController',
$rootScope.txAlertCount = 0;
$rootScope.insightError = 0;
+
$rootScope.$watch('insightError', function(status) {
if (status === -1) {
- notification.success('Networking restored', 'Connection to insight restored');
- $rootScope.insightError = 0;
+ notification.success('Networking restored', 'Connection to Insight re-established');
+ //$rootScope.insightError = 0;
+ } else {
+ notification.error('Networking problem', 'Connection to Insight lost, reconnecting (attempt number '+status+')');
}
});
-
// Init socket handlers (with no wallet yet)
controllerUtils.setSocketHandlers();
diff --git a/js/services/controllerUtils.js b/js/services/controllerUtils.js
index cbc293a1f..c823a2843 100644
--- a/js/services/controllerUtils.js
+++ b/js/services/controllerUtils.js
@@ -69,13 +69,6 @@ angular.module('copayApp.services')
$rootScope.txAlertCount = 0;
$rootScope.insightError = 0;
$rootScope.isCollapsed = true;
- $rootScope.$watch('insightError', function(status) {
- if (status === -1) {
- notification.success('Networking restored', 'Connection to Insight re-established');
- $rootScope.insightError = 0;
- }
- });
-
$rootScope.$watch('txAlertCount', function(txAlertCount) {
if (txAlertCount && txAlertCount > 0) {
notification.info('New Transaction', ($rootScope.txAlertCount == 1) ? 'You have a pending transaction proposal' : 'You have ' + $rootScope.txAlertCount + ' pending transaction proposals', txAlertCount);