diff --git a/lib/voicemeeter/configs.rb b/lib/voicemeeter/configs.rb index d11299e..0ac7827 100644 --- a/lib/voicemeeter/configs.rb +++ b/lib/voicemeeter/configs.rb @@ -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