log.debug("calling in here with filesize, ", filesize)
unify.b.writeHead(200, {'Content-Length' : filesize});
-
global.repoproxy.downloads[unify.fullFilePath] = 1;
-
http.get(xpath, function(res) {
var file = fs.createWriteStream(unify.fullFilePath);
}
}
} else {
- log.debug("inline service - we're in a very bad place");
+ log.error("inline service - we're in a very bad place, how we ended up here we dont know, but we need to crash");
+ process.exit(10);
}
});