Fix unhandled errors
samgozman opened this issue · comments
Sam Gozman commented
[Nest] 1 - 03/06/2023, 6:39:50 AM ERROR [ExceptionsHandler] Cannot read properties of undefined (reading 'split')
TypeError: Cannot read properties of undefined (reading 'split')
at BarchartService.fetchFinancial (/app/dist/models/barchart/barchart.service.js:49:64)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async AppService.getBarchartFinancial (/app/dist/app.service.js:45:25)
at async AppController.getBarchartFinancial (/app/dist/app.controller.js:31:22)
at async /app/node_modules/@nestjs/core/router/router-execution-context.js:46:28
at async /app/node_modules/@nestjs/core/router/router-proxy.js:9:17
and for tightshorts module
[Nest] 1 - 03/06/2023, 9:49:22 AM ERROR [ExceptionsHandler] Request failed with status code 400
AxiosError: Request failed with status code 400
at settle (/app/node_modules/axios/dist/node/axios.cjs:1859:12)
at IncomingMessage.handleStreamEnd (/app/node_modules/axios/dist/node/axios.cjs:2723:11)
at IncomingMessage.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Sam Gozman commented
Closed in #276