Exception handler in Convertible references nonexisting method .name #419

Merged
merged 1 commit into from Jan 22, 2012

Conversation

Projects
None yet
5 participants
@vjt
Contributor

vjt commented Oct 18, 2011

When an Exception in a liquid template happens, the exception handler is invoked, but it raises another exception (oh, no, not another!), because Post does not quack .name, and the almighty web master finds difficult to understand what the error means.

No need to wonder, but yeah the attached commit fixes the issue. Yay!

:-)

@lastknight

This comment has been minimized.

Show comment Hide comment
@lastknight

lastknight Oct 18, 2011

for testing the issue just use a non.existend Liquid Tag (in my case {% youtbe ID %}

for testing the issue just use a non.existend Liquid Tag (in my case {% youtbe ID %}

mojombo added a commit that referenced this pull request Jan 22, 2012

Merge pull request #419 from vjt/master
Exception handler in Convertible references nonexisting method .name

@mojombo mojombo merged commit 3c2519f into jekyll:master Jan 22, 2012

@eob

This comment has been minimized.

Show comment Hide comment
@eob

eob Feb 9, 2012

Related to this bug, however -- is there a way to get an informational message about which template tag is causing the exception? I'm running into this problem right now and can't find what in the post is causing the server process to barf.

eob commented Feb 9, 2012

Related to this bug, however -- is there a way to get an informational message about which template tag is causing the exception? I'm running into this problem right now and can't find what in the post is causing the server process to barf.

@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.