output including file for include tag error

This commit is contained in:
maul.esel 2013-11-21 22:03:39 +01:00
parent ed7fb46b96
commit 3888a24068
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ module Jekyll
def render_liquid(content, payload, info, path = nil)
Liquid::Template.parse(content).render!(payload, info)
rescue Tags::IncludeTagError => e
Jekyll.logger.error "Liquid Exception:", "#{e.message} in #{e.path}"
Jekyll.logger.error "Liquid Exception:", "#{e.message} in #{e.path}, included in #{path || self.path}"
raise e
rescue Exception => e
Jekyll.logger.error "Liquid Exception:", "#{e.message} in #{path || self.path}"