lib/fontist/manifest/locations.rb in fontist-1.8.2 vs lib/fontist/manifest/locations.rb in fontist-1.8.3
- old
+ new
@@ -53,10 +53,10 @@
end
def file_paths(font, style)
find_font_with_name(font, style).tap do |x|
if x["paths"].empty?
- raise Errors::MissingFontError.new("Could not find font #{font} #{style}.")
+ raise Errors::MissingFontError.new(font, style)
end
end
end
def find_font_with_name(font, style)