Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 7 commits into from
Mar 24, 2023
Merged

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

merged 7 commits into from
Mar 24, 2023

Conversation

adrien2p
Copy link
Member

@adrien2p adrien2p commented Mar 24, 2023

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

@changeset-bot
Copy link

changeset-bot bot commented Mar 24, 2023

🦋 Changeset detected

Latest commit: dc8ab1a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@medusajs/event-bus-local Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Mar 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
medusa-docs ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 24, 2023 at 0:48AM (UTC)

@adrien2p adrien2p marked this pull request as ready for review March 24, 2023 12:05
@adrien2p adrien2p requested a review from a team as a code owner March 24, 2023 12:05
Copy link
Contributor

@pKorsholm pKorsholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Nice with the yarn.lock file as well!

Copy link
Collaborator

@srindom srindom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kodiakhq kodiakhq bot merged commit 4a7bdc9 into develop Mar 24, 2023
@kodiakhq kodiakhq bot deleted the fix/event-bus-local branch March 24, 2023 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants