Add request logging

This commit is contained in:
Michael Jackson
2019-08-02 17:34:00 -07:00
parent 7af4d4dc58
commit 4774e61d50
14 changed files with 112 additions and 52 deletions

View File

@ -53,7 +53,7 @@ async function findEntry(stream, filename) {
}
async function serveFileMetadata(req, res) {
const stream = await getPackage(req.packageName, req.packageVersion);
const stream = await getPackage(req.packageName, req.packageVersion, req.log);
const entry = await findEntry(stream, req.filename);
if (!entry) {