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

BotRunner: add handling for exceptions in all subtasks #10

Open
javajawa opened this issue Mar 30, 2022 · 0 comments
Open

BotRunner: add handling for exceptions in all subtasks #10

javajawa opened this issue Mar 30, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@javajawa
Copy link
Collaborator

When we set up a bot runner, we add exit hooks for the two tasks that handle the input/output queues.

We should extend this to:

  • Ensuring the signal handling works on Windows
  • Adding exit catches for each of the Input tasks (e.g. to detect a websocket failure)
  • Add exception handling to each of the exit catches.
  • Add automated restarts to the tasks, assuming that the Runner itself is still running

Questions:

  • Do we want a restart flag on the runner? (probably not?)
@javajawa javajawa added the good first issue Good for newcomers label Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Backlog
Development

No branches or pull requests

1 participant