Error while loading chain's plugins
when running any CLI command in a directory with an invalid config
#3178
Labels
type:bug
Something isn't working
Describe the bug
For some testing, I have a chain with a config without validator: https://github.com/lubtd/planet
When running CLI commands under this directory, every command fail with the error
Even when running commands that should be directory agnostic like
The command works if we are in a directory without
config.yml
I may understand we fetch the configuration to check plugin to include. However, I don't think the command should fail in case of a invalid config.
I personally suggest that if the config is invalid then it is ignored (for
LoadPlugins
method) like if it doesn't existThe text was updated successfully, but these errors were encountered: