`hubble.audit` fails if a bad yaml file is located in the `hubblestack_nova` directory
Closed this issue · 4 comments
gmiu commented
_get_yaml
function in each nova plugin will try to load all the yaml files in the hubblestack_nova
directory. If at least one of the yaml files in there is having a bad yaml syntax, the except
block will be reached and an empty dict will be returned.
I'd suggest the yaml.parser.ParserError
exception to be treated for each opened file.
basepi commented
cedwards commented
Is this still relevant?
basepi commented
No. If an error occurs when loading yaml, it will be reported in the output of hubble.load