-
Notifications
You must be signed in to change notification settings - Fork 4
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
Wrong bot toml path has bad error message #56
Comments
The error message comes from |
I mean, you could check path before attempting to parse it, so you could say "failed to find path xxx" if it's going to fail. Or you could just print "Parsing toml" and then when it fails that at least points to the toml file for the bot that failed (if we add your red warning), but I definitely appreciate that the console is relatively quiet currently and we don't want a bunch of "checking. Complete, checking, complete" garbage. |
That doesn't work because |
Ok. I see. Because the run command can be complex we can't really check it beforehand to make sure it's valid. We could, but it's a mess probably. Just something that at least points to the toml would be enough. |
I agree with swz, the best we can probably do is a big bold red error message "{bot/script name}'s process exited with a non-0 status" to make it a bit more clear |
The text was updated successfully, but these errors were encountered: