Actions
Bug #6169
closedIn the event of error, backend reply this message instead of providing proper error.
Start date:
10/23/2023
Due date:
% Done:
0%
Estimated time:
Description
Oct 23 14:32:27 hcw-athome-dev node[665459]: /usr/share/hcw-athome/backend/api/controllers/AuthController.js:626
Oct 23 14:32:27 hcw-athome-dev node[665459]: return res.view("pages/error", {
Oct 23 14:32:27 hcw-athome-dev node[665459]: ^
Oct 23 14:32:27 hcw-athome-dev node[665459]: TypeError: res.view is not a function
Oct 23 14:32:27 hcw-athome-dev node[665459]: at /usr/share/hcw-athome/backend/api/controllers/AuthController.js:626:22
Oct 23 14:32:27 hcw-athome-dev node[665459]: at Strategy.strategy.error (/usr/share/hcw-athome/backend/node_modules/passport/lib/middleware/authenticate.js:361:18)
Oct 23 14:32:27 hcw-athome-dev node[665459]: at verified (/usr/share/hcw-athome/backend/node_modules/passport-openidconnect/lib/strategy.js:202:38)
Oct 23 14:32:27 hcw-athome-dev node[665459]: at Strategy._verify (/usr/share/hcw-athome/backend/config/passport.js:499:16)
Oct 23 14:32:27 hcw-athome-dev node[665459]: at processTicksAndRejections (node:internal/process/task_queues:96:5)
Actions