Enhanced debug message for missing auth tokens
Change-Id: I1a24cd7edac1f1f722f87fd753bb6ad91b7d4712
diff --git a/src/routes/core_proxy.js b/src/routes/core_proxy.js
index 384aa14..0dffc8d 100644
--- a/src/routes/core_proxy.js
+++ b/src/routes/core_proxy.js
@@ -10,10 +10,10 @@
// debugging helper
if(!req.headers['x-csrftoken']){
- logger.log('warn', `csrftoken is missing and is required for authentication`);
+ logger.log('warn', `csrftoken is missing and is required for authentication for ${req.url}`);
}
if(!req.headers['x-sessionid']){
- logger.log('warn', `Session id is missing and is required for authentication`);
+ logger.log('warn', `Session id is missing and is required for authentication for ${req.url}`);
}
const config = require('../config/config.js').xos;