This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http_on_error = function http_on_error(context) { | |
return function(e) { | |
console.log("Got error: " + e.message); | |
context.done(e.message); // I need to pass-in the context variable | |
}; | |
}; | |
var http_on_success = function http_on_error(context) { | |
return function(e) { |