You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message: 'uncaughtException: the worker has exited\n' +
'Error: the worker has exited\n' +
' at ThreadStream.write (/home/ubuntu/services/development/admin-server/dist/app.js:5059:19)\n' +
' at Pino.write (/home/ubuntu/services/development/admin-server/dist/app.js:2680:10)\n' +
' at Pino.LOG [as debug] (/home/ubuntu/services/development/admin-server/dist/app.js:3516:21)\n' +
' at Logger.debug (/home/ubuntu/services/development/admin-server/dist/app.js:545:21)\n' +
' at Object.PostgresMasterSlave.logging (/home/ubuntu/services/development/admin-server/dist/app.js:38055:59)\n' +
' at Sequelize.log (/home/ubuntu/services/development/admin-server/dist/app.js:39386:15)\n' +
' at /home/ubuntu/services/development/admin-server/dist/app.js:55734:24\n' +
' at Query.run (/home/ubuntu/services/development/admin-server/dist/app.js:63019:5)\n' +
' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
' at async /home/ubuntu/services/development/admin-server/dist/app.js:39149:16\n' +
using webpack to build the project, I am using pino to log to error.log file, as well as pino pretty and aws cloudwatch as transports. 3 transports have been used.
When I build the project with webpack, i am getting error because of pino logger. Above is the error stack (it is from dist/app.js), however on debugging i could see that error is at logger.debug or logger.info by pino.
using webpack to build the project, I am using pino to log to error.log file, as well as pino pretty and aws cloudwatch as transports. 3 transports have been used.
When I build the project with webpack, i am getting error because of pino logger. Above is the error stack (it is from
dist/app.js
), however on debugging i could see that error is atlogger.debug
orlogger.info
by pino.I have checked: ThreadStream.write "worker has exited" error. #1429 but no use.
Any Ideas how to fix it ??
The text was updated successfully, but these errors were encountered: