Added logging for testing why/what urls crash the cookies

This commit is contained in:
Kasper Rynning-Tønnesen
2018-09-22 17:01:36 +02:00
parent 25c7f85203
commit ee5337be3d
2 changed files with 2 additions and 1 deletions

View File

@@ -112,7 +112,7 @@ app.use(function (req, res, next) {
} else {
if (cookie === undefined) {
try {
//console.error((new Date), "originalUrl", req.originalUrl);
console.error((new Date), "originalUrl", req.originalUrl);
//console.error((new Date), "couldn't fetch cookie for some reason, maybe no cookie exists?", req.get('origin'), "couldn't fetch cookie for some reason, maybe no cookie exists?");
} catch(e) {