Open 0xgeert opened 10 years ago
try 1:
wrap express.response.send
in bootstrap.js
var response = require('express').response;
response.send = _.wrap(response.send, function(fn) {
console.log(arguments);
fn.apply(this,_.toArray(arguments).slice(1));
});
FAILED
as per: https://coderwall.com/p/miq0iw