Open kattjevfel opened 2 years ago
When trying to access /login/forgot-password/ it crashes the application instead:
Jul 23 16:35:07 lewd node[90930]: <app.js> Jul 23 16:35:07 lewd node[90930]: Reason: error: invalid input syntax for type interval: "undefined" Jul 23 16:35:07 lewd node[90930]: at Parser.parseErrorMessage (/var/www/lewd2/packages/backend/node_modules/pg-protocol/dist/parser.js:287:98) Jul 23 16:35:07 lewd node[90930]: at Parser.handlePacket (/var/www/lewd2/packages/backend/node_modules/pg-protocol/dist/parser.js:126:29) Jul 23 16:35:07 lewd node[90930]: at Parser.parse (/var/www/lewd2/packages/backend/node_modules/pg-protocol/dist/parser.js:39:38) Jul 23 16:35:07 lewd node[90930]: at Socket.<anonymous> (/var/www/lewd2/packages/backend/node_modules/pg-protocol/dist/index.js:11:42) Jul 23 16:35:07 lewd node[90930]: at Socket.emit (events.js:314:20) Jul 23 16:35:07 lewd node[90930]: at addChunk (_stream_readable.js:297:12) Jul 23 16:35:07 lewd node[90930]: at readableAddChunk (_stream_readable.js:272:9) Jul 23 16:35:07 lewd node[90930]: at Socket.Readable.push (_stream_readable.js:213:10) Jul 23 16:35:07 lewd node[90930]: at TCP.onStreamRead (internal/stream_base_commons.js:188:23) { Jul 23 16:35:07 lewd node[90930]: length: 122, Jul 23 16:35:07 lewd node[90930]: severity: 'ERROR', Jul 23 16:35:07 lewd node[90930]: code: '22007', Jul 23 16:35:07 lewd node[90930]: detail: undefined, Jul 23 16:35:07 lewd node[90930]: hint: undefined, Jul 23 16:35:07 lewd node[90930]: position: '174', Jul 23 16:35:07 lewd node[90930]: internalPosition: undefined, Jul 23 16:35:07 lewd node[90930]: internalQuery: undefined, Jul 23 16:35:07 lewd node[90930]: where: undefined, Jul 23 16:35:07 lewd node[90930]: schema: undefined, Jul 23 16:35:07 lewd node[90930]: table: undefined, Jul 23 16:35:07 lewd node[90930]: column: undefined, Jul 23 16:35:07 lewd node[90930]: dataType: undefined, Jul 23 16:35:07 lewd node[90930]: constraint: undefined, Jul 23 16:35:07 lewd node[90930]: file: 'datetime.c', Jul 23 16:35:07 lewd node[90930]: line: '3755', Jul 23 16:35:07 lewd node[90930]: routine: 'DateTimeParseError' Jul 23 16:35:07 lewd node[90930]: } Jul 23 16:35:07 lewd node[90930]: -------------------------- Jul 23 16:35:07 lewd node[90930]: error: invalid input syntax for type interval: "undefined" Jul 23 16:35:07 lewd node[90930]: at Parser.parseErrorMessage (/var/www/lewd2/packages/backend/node_modules/pg-protocol/dist/parser.js:287:98) Jul 23 16:35:07 lewd node[90930]: at Parser.handlePacket (/var/www/lewd2/packages/backend/node_modules/pg-protocol/dist/parser.js:126:29) Jul 23 16:35:07 lewd node[90930]: at Parser.parse (/var/www/lewd2/packages/backend/node_modules/pg-protocol/dist/parser.js:39:38) Jul 23 16:35:07 lewd node[90930]: at Socket.<anonymous> (/var/www/lewd2/packages/backend/node_modules/pg-protocol/dist/index.js:11:42) Jul 23 16:35:07 lewd node[90930]: at Socket.emit (events.js:314:20) Jul 23 16:35:07 lewd node[90930]: at addChunk (_stream_readable.js:297:12) Jul 23 16:35:07 lewd node[90930]: at readableAddChunk (_stream_readable.js:272:9) Jul 23 16:35:07 lewd node[90930]: at Socket.Readable.push (_stream_readable.js:213:10) Jul 23 16:35:07 lewd node[90930]: at TCP.onStreamRead (internal/stream_base_commons.js:188:23) Jul 23 16:35:07 lewd node[90930]: -------------------------- Jul 23 16:35:07 lewd node[90930]: Promise { Jul 23 16:35:07 lewd node[90930]: <rejected> error: invalid input syntax for type interval: "undefined" Jul 23 16:35:07 lewd node[90930]: at Parser.parseErrorMessage (/var/www/lewd2/packages/backend/node_modules/pg-protocol/dist/parser.js:287:98) Jul 23 16:35:07 lewd node[90930]: at Parser.handlePacket (/var/www/lewd2/packages/backend/node_modules/pg-protocol/dist/parser.js:126:29) Jul 23 16:35:07 lewd node[90930]: at Parser.parse (/var/www/lewd2/packages/backend/node_modules/pg-protocol/dist/parser.js:39:38) Jul 23 16:35:07 lewd node[90930]: at Socket.<anonymous> (/var/www/lewd2/packages/backend/node_modules/pg-protocol/dist/index.js:11:42) Jul 23 16:35:07 lewd node[90930]: at Socket.emit (events.js:314:20) Jul 23 16:35:07 lewd node[90930]: at addChunk (_stream_readable.js:297:12) Jul 23 16:35:07 lewd node[90930]: at readableAddChunk (_stream_readable.js:272:9) Jul 23 16:35:07 lewd node[90930]: at Socket.Readable.push (_stream_readable.js:213:10) Jul 23 16:35:07 lewd node[90930]: at TCP.onStreamRead (internal/stream_base_commons.js:188:23) { Jul 23 16:35:07 lewd node[90930]: length: 122, Jul 23 16:35:07 lewd node[90930]: severity: 'ERROR', Jul 23 16:35:07 lewd node[90930]: code: '22007', Jul 23 16:35:07 lewd node[90930]: detail: undefined, Jul 23 16:35:07 lewd node[90930]: hint: undefined, Jul 23 16:35:07 lewd node[90930]: position: '174', Jul 23 16:35:07 lewd node[90930]: internalPosition: undefined, Jul 23 16:35:07 lewd node[90930]: internalQuery: undefined, Jul 23 16:35:07 lewd node[90930]: where: undefined, Jul 23 16:35:07 lewd node[90930]: schema: undefined, Jul 23 16:35:07 lewd node[90930]: table: undefined, Jul 23 16:35:07 lewd node[90930]: column: undefined, Jul 23 16:35:07 lewd node[90930]: dataType: undefined, Jul 23 16:35:07 lewd node[90930]: constraint: undefined, Jul 23 16:35:07 lewd node[90930]: file: 'datetime.c', Jul 23 16:35:07 lewd node[90930]: line: '3755', Jul 23 16:35:07 lewd node[90930]: routine: 'DateTimeParseError' Jul 23 16:35:07 lewd node[90930]: } Jul 23 16:35:07 lewd node[90930]: } Jul 23 16:35:07 lewd node[90930]: </app.js>
When trying to access /login/forgot-password/ it crashes the application instead: