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

Add shared error logic for all event handlers #574

Merged
merged 2 commits into from
Apr 15, 2022
Merged

Add shared error logic for all event handlers #574

merged 2 commits into from
Apr 15, 2022

Conversation

ejizba
Copy link
Contributor

@ejizba ejizba commented Apr 12, 2022

Currently each event handler does its own error handling and I worry errors will slip through the cracks and not get reported properly over the rpc channel. If I move the error logic out of the event handlers and into setupEventStream, it should be much safer and consistent.

Btw, definitely review this one with whitespace turned off

@ejizba
Copy link
Contributor Author

ejizba commented Apr 14, 2022

ping @hossam-nasr @alrod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant