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

Bugfix: fail more gracefully when supervisor starts with no runs selected #708

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jasorello
Copy link

The current behavior when no runs are selected is to crash the supervisor without a useful error.

This PR does a check before we start the first run to ensure we have at least one run selected, otherwise it kills the supervisor and prints a message that the user hopefully reads before they holler at discord asking why their bot won't start.

Maybe the javascript validation should try to prevent someone getting into this state?

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