fix(event-bus-local): Error handling (#3575)

**What**

The error handling was applied on the emit, which always succeed. On the other hand, the `on` which calls the handler, was not handling any errors and therefore crashed the server
This commit is contained in:
Adrien de Peretti
2023-03-24 13:49:29 +00:00
committed by GitHub
parent b57ea22461
commit 4a7bdc917a
4 changed files with 187 additions and 179 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/event-bus-local": patch
---
fix(event-bus-local): Error handling