due to poor error-handling in the app, report user is crashing the container (or the node process).
Reason:
API needs an authenticated user, and node is not providing it + poor error-handling.
/code/routes/views/account/post/report.js:86
website-website-1 | flash.messages = [{msg: 'Error while submitting the report form: '+e.toString()}];
website-website-1 | ^
website-website-1 |
website-website-1 | TypeError: Cannot read properties of null (reading 'toString')
website-website-1 | at module.exports (/code/routes/views/account/post/report.js:86:76)
website-website-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
due to poor error-handling in the app, report user is crashing the container (or the node process). Reason: API needs an authenticated user, and node is not providing it + poor error-handling.