From 912d91feb3582f80c7ad5ea6bdf68edfb9a03ef8 Mon Sep 17 00:00:00 2001 From: bluedevil-oit Date: Tue, 9 Apr 2019 10:39:40 -0400 Subject: [PATCH] debug log /secure function name at entry --- rest/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rest/index.js b/rest/index.js index 0909f4d0..91fe41d2 100644 --- a/rest/index.js +++ b/rest/index.js @@ -624,7 +624,8 @@ function handleLogin (req, res) { } app.get('/secure', function (req, res, next) { - logger.debug('headers: ' + inspect(req.headers)) + let func = '/secure handler' + logger.debug(func + ' - headers: ' + inspect(req.headers)) handleLogin(req, res) .then(function (res) { res.redirect('/nm')