It looks like the response object is not sent back to callback when an exception is thrown:
this.on('end', function () {
var err = null;
var res = null;
try {
res = new Response(self);
} catch (err_) {
// ...
return self.callback(err); // <-- HERE
}
// ...
});
It looks like the response object is not sent back to callback when an exception is thrown: