RepoConfig TryReadRepoConfig() {
try {
return SyncEvilGlobal.Yaml.NewFromYamlFile<RepoConfig>(_repoConfigYamlFile);
} catch (YamlParseException e) {
this.Logger().FormattedWarnException(e);
return new RepoConfig();
} catch (YamlExpectedOtherNodeTypeException e) {
this.Logger().FormattedWarnException(e, _mod.Name);
return new RepoConfig();
}
}