lib/fusuma/plugin/base.rb in fusuma-3.6.1 vs lib/fusuma/plugin/base.rb in fusuma-3.6.2
- old
+ new
@@ -51,12 +51,11 @@
# NOTE: Type checking for config.yml
param_types = Array(config_param_types.fetch(key))
next if param_types.any? { |klass| val.is_a?(klass) }
- MultiLogger.error("Please fix config.yml.")
- MultiLogger.error(":#{config_index.keys.map(&:symbol)
- .join(" => :")} => :#{key} should be #{param_types.join(" OR ")}.")
+ MultiLogger.error("Please fix config.yml")
+ MultiLogger.error("`#{config_index.keys.join(".")}.#{key}` should be #{param_types.join(" OR ")}.")
exit 1
end
end
def config_index