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

fixed raised error not being caught in class #12

Open
wants to merge 1 commit into
base: groovy-devel
Choose a base branch
from

Conversation

wongkaiweng
Copy link

Hi, I found out a Runtime Error of Bad SOF is raised in the recv function but it is not caught in its caller run. Instead of raising the error, I changed the code to write to stdout and clear data instead. With this change, I was able to retrieve data again.

The other way to do it would be putting while self.is_connected and not self.shutdown: in the function run. We can then catch the error there and continue.

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