Closed nicholasgriffintn closed 1 year ago
Currently, emitted events are only logged if the user is listening to it.
This makes debugging hard as it requires a lot of listeners to be created to listen to individual events, to make this better we should change the emit function:
https://github.com/bbc/sqs-consumer/blob/main/src/types.ts#L200
To also send a debug event so that the event is always in the debugger logs.
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Currently, emitted events are only logged if the user is listening to it.
This makes debugging hard as it requires a lot of listeners to be created to listen to individual events, to make this better we should change the emit function:
https://github.com/bbc/sqs-consumer/blob/main/src/types.ts#L200
To also send a debug event so that the event is always in the debugger logs.