if invalid yml, log as error but let loader continue

This commit is contained in:
onyx-and-iris 2023-08-01 23:43:55 +01:00
parent 209e4298aa
commit e06b4eaf2b

View File

@ -118,6 +118,8 @@ module Voicemeeter
symbolize_names: true
)
logger.info "#{@kind.name}/#{filename} loaded into memory"
rescue Psych::SyntaxError => e
logger.error "#{e.class.name}: #{e.message}"
end
end