Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Give name of file that generated YAML exception message #356

Merged
merged 1 commit into from

2 participants

Matt Palmer Aman Gupta
Matt Palmer

It's not much good saying "hey, there was a problem" if you don't know where
the problem is. Hunting through several hundred YAML files is no fun.

Matt Palmer mpalmer Give name of file that generated YAML exception message
It's not much good saying "hey, there was a problem" if you don't know where
the problem *is*.  Hunting through several hundred YAML files is no fun.
eebeaf5
Aman Gupta tmm1 merged commit f6b5d82 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 2, 2011
  1. Matt Palmer

    Give name of file that generated YAML exception message

    mpalmer authored
    It's not much good saying "hey, there was a problem" if you don't know where
    the problem *is*.  Hunting through several hundred YAML files is no fun.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/jekyll/convertible.rb
2  lib/jekyll/convertible.rb
View
@@ -32,7 +32,7 @@ def read_yaml(base, name)
begin
self.data = YAML.load($1)
rescue => e
- puts "YAML Exception: #{e.message}"
+ puts "YAML Exception reading #{name}: #{e.message}"
end
end
Something went wrong with that request. Please try again.