Better config file parser error if it's not there.

This commit is contained in:
Parker Moore 2013-11-29 23:22:10 -05:00
parent 51706e8da7
commit 1e32af47a6
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ module Jekyll
when /\.y(a)?ml/
YAML.safe_load_file(filename)
else
raise ArgumentError, "No parser for '#{filename}' is available."kk
raise ArgumentError, "No parser for '#{filename}' is available. Use a .toml or .y(a)ml file instead."
end
end