Handle user events Redis not working in tutorial

Also does some basic restyling

Fixes #1586
This commit is contained in:
Joseph Schorr 2016-06-28 15:35:21 -04:00
parent 073b643aab
commit 310ecd11cc
6 changed files with 169 additions and 162 deletions

View file

@ -286,6 +286,10 @@ angular.module("angular-tour", [])
checker.$source.onmessage = function(e) {
checker.$message = JSON.parse(e.data);
};
checker.$source.onerror = function(e) {
bootbox.alert('Could not read user events from server due to a Redis issue. ' +
' Please contact support.')
};
};
checker.$teardown = function() {