mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-25 03:10:49 +00:00
if invalid yml, log as error but let loader continue
This commit is contained in:
parent
209e4298aa
commit
e06b4eaf2b
@ -118,6 +118,8 @@ module Voicemeeter
|
|||||||
symbolize_names: true
|
symbolize_names: true
|
||||||
)
|
)
|
||||||
logger.info "#{@kind.name}/#{filename} loaded into memory"
|
logger.info "#{@kind.name}/#{filename} loaded into memory"
|
||||||
|
rescue Psych::SyntaxError => e
|
||||||
|
logger.error "#{e.class.name}: #{e.message}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user