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

py: Handle errors when JS calls Python, handle more IO errors #14

Merged
merged 7 commits into from
Jul 16, 2021

Conversation

extremeheat
Copy link
Owner

@extremeheat extremeheat commented Jul 16, 2021

  • py: errors when Python calls JS which calls Python back which returns an error is now handled
  • py: do not block program exit if JS process is dead
  • IO errors are suppressed. These errors are common when the other side of the bridge exists before the IO is finished on child process (e.g. crashing or Ctrl-C), no need to log them
  • py: add new mineflayer example

@extremeheat extremeheat merged commit bd98770 into master Jul 16, 2021
@extremeheat extremeheat deleted the errorfi branch July 18, 2021 05:48
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