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
`An error occurred while processing ${event.toString()}: ${e}`
I am trying to debug an error with the payment webhook subscriber and it's not possible for me to get a good error message as the error here is an object and the logger instance just returns [Object objct]
Expected behavior
Event bus modules log properly
Actual behavior
Logger logs [Object objct] for errors in subscribe method
Link to reproduction repo
/
The text was updated successfully, but these errors were encountered:
MiguelFranken
changed the title
[Bug]: Event Bus Services do not log subscription errors propery
[Bug]: Event Bus Services do not log subscription errors properly
Nov 8, 2024
Updated today to the newest version 2.0.6 and the error is still not serialized properly.
I tested it with event-bus-local and I get a proper error message, but the problem still happens when I use redis.
Package.json file
Node.js version
v20.13.1
Database and its version
16.2
Operating system name and version
Mac OS
Browser name
No response
What happended?
Error are not properly logged in Event Bus module.
Issue is here:
medusa/packages/modules/event-bus-local/src/services/event-bus-local.ts
Line 133 in 34d5787
I am trying to debug an error with the payment webhook subscriber and it's not possible for me to get a good error message as the error here is an object and the logger instance just returns [Object objct]
Expected behavior
Event bus modules log properly
Actual behavior
Logger logs [Object objct] for errors in subscribe method
Link to reproduction repo
/
The text was updated successfully, but these errors were encountered: