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)
|
def initialize(kind)
|
||||||
@kind = kind
|
@kind = kind
|
||||||
@configs = Hash.new do |hash, key|
|
@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
|
end
|
||||||
@filereader = FileReader.new(kind)
|
@filereader = FileReader.new(kind)
|
||||||
end
|
end
|
||||||
|
@ -112,7 +112,7 @@ module Voicemeeter
|
|||||||
kind = Kinds.get(kind_id)
|
kind = Kinds.get(kind_id)
|
||||||
rescue KeyError => e
|
rescue KeyError => e
|
||||||
logger.error "#{e.class.name}: #{e.message}"
|
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
|
else
|
||||||
RequestRemote.for(kind, **)
|
RequestRemote.for(kind, **)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user