There are all sorts of possible errors with configs, but none are handled at this point.
Legal cases that cause crashes when they shouldn't:
- Empty
invoke.yaml breaks on merge_dict because update data is None.
- Empty
invoke.json raises ValueError in json module itself.
NOTE: When invoke.yaml contains one word (without colon), yaml parser returns a str object, which is also not a dict.
NOTE: Error handling is not implemented in Invoke yet, see #269. So it should get addressed first.
There are all sorts of possible errors with configs, but none are handled at this point.
Legal cases that cause crashes when they shouldn't:
invoke.yamlbreaks on merge_dict because update data isNone.invoke.jsonraises ValueError injsonmodule itself.NOTE: When
invoke.yamlcontains one word (without colon), yaml parser returns astrobject, which is also not adict.NOTE: Error handling is not implemented in Invoke yet, see #269. So it should get addressed first.