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 an error catch in python on_event when using hot-reloading #372

Merged
merged 2 commits into from
Nov 16, 2023

Conversation

haixuanTao
Copy link
Collaborator

Currently, if we introduce a bug within the on_event function during hot-reloading event. The whole dataflow is going to stop because we're not catching the error. With the PR we'll allow errors and just warn the user.

Copy link
Collaborator

@phil-opp phil-opp left a comment

Choose a reason for hiding this comment

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

Looks good!

@phil-opp
Copy link
Collaborator

Looks like this includes the commits from #382 now. Was this intended?

@haixuanTao haixuanTao force-pushed the allow-error-in-hot-reload-env branch from 1272f27 to 5bff656 Compare November 16, 2023 09:01
@haixuanTao
Copy link
Collaborator Author

Made a typo in the error handling that's why I did not merged it yet. I also removed the unwanted commit.

@haixuanTao haixuanTao enabled auto-merge November 16, 2023 09:26
@haixuanTao haixuanTao merged commit d46ea84 into main Nov 16, 2023
17 checks passed
@haixuanTao haixuanTao deleted the allow-error-in-hot-reload-env branch November 16, 2023 09:48
@haixuanTao haixuanTao mentioned this pull request Jan 9, 2024
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.

2 participants