Prevent errors in get_updates_success from stopping the event loop

Add try/catch blocks to get_updates_success and send a blueslip error on
errors we catch. This will let get_updates_success return successfully
so that the next call to get_updates will start immediately.

(imported from commit 44d8b85d9d8e930a5552a5fbf4af1d0e5e8c07e8)
This commit is contained in:
Jason Michalski
2014-01-31 00:24:15 -05:00
parent a4ff866571
commit 0e1909f489
3 changed files with 174 additions and 35 deletions

View File

@@ -504,3 +504,6 @@ exports.initialize = function () {
return exports;
}());
if (typeof module !== 'undefined') {
module.exports = tutorial;
}