Skip to content

Commit 2c44f0b

Browse files
committed
chore: add logging to proxy server for debugging
1 parent 2fe03d0 commit 2c44f0b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/performance/server/index.js

+5
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ module.exports = function (app) {
2727
fs.createReadStream(filePath).pipe(res);
2828
return;
2929
}
30+
console.log({
31+
url: req.url,
32+
filePath: filePath,
33+
error: err,
34+
});
3035

3136
return res.status(404).end();
3237
});

0 commit comments

Comments
 (0)