Project

General

Profile

Actions

Bug #6169

closed

In the event of error, backend reply this message instead of providing proper error.

Added by Olivier Bitsch 7 months ago. Updated 6 months ago.

Status:
Done
Priority:
Normal
Assignee:
-
Category:
-
Target version:
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 #1

Updated by Olivier Bitsch 6 months ago

  • Status changed from In Study to Testing
Actions #2

Updated by Olivier Bitsch 6 months ago

  • Status changed from Testing to Done
Actions

Also available in: Atom PDF