mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-15 15:00:46 +00:00
quote operative in error messages
This commit is contained in:
parent
00450483a4
commit
4381ed37ff
@ -87,7 +87,7 @@ module Voicemeeter
|
||||
def initialize(kind)
|
||||
@kind = kind
|
||||
@configs = Hash.new do |hash, key|
|
||||
raise Errors::VMError.new "unknown config #{key}. known configs: #{hash.keys}"
|
||||
raise Errors::VMError.new "unknown config '#{key}'. known configs: #{hash.keys}"
|
||||
end
|
||||
@filereader = FileReader.new(kind)
|
||||
end
|
||||
|
@ -112,7 +112,7 @@ module Voicemeeter
|
||||
kind = Kinds.get(kind_id)
|
||||
rescue KeyError => e
|
||||
logger.error "#{e.class.name}: #{e.message}"
|
||||
raise Errors::VMError.new "unknown Voicemeeter kind #{kind_id}"
|
||||
raise Errors::VMError.new "unknown Voicemeeter kind '#{kind_id}'"
|
||||
else
|
||||
RequestRemote.for(kind, **)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user