From 39ea6ba276fbab16ee39a9894926d90906c4117b Mon Sep 17 00:00:00 2001 From: Oliver Schulz <9889671+OlliSchu@users.noreply.github.com> Date: Mon, 27 Jun 2022 15:23:40 +0200 Subject: [PATCH] Add log of error --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 78d97c1..f26aea6 100644 --- a/src/index.js +++ b/src/index.js @@ -37,6 +37,7 @@ async function extractWebId(req, res, next) { next() } catch (error) { const message = `Error verifying Access Token via WebID: ${error}}`; + console.log(message); req.auth = {} req.auth.webId = undefined req.auth.clientId = undefined @@ -47,4 +48,4 @@ async function extractWebId(req, res, next) { module.exports = { setSatellite, extractWebId -} \ No newline at end of file +}