diff --git a/features/rendering.feature b/features/rendering.feature index 6ceaef57..e0b9d8f0 100644 --- a/features/rendering.feature +++ b/features/rendering.feature @@ -21,11 +21,12 @@ Feature: Rendering And I should not see "Ahoy, indeed!" in "_site/index.css" And I should not see "Ahoy, indeed!" in "_site/index.js" - Scenario: Don't render liquid in Sass + Scenario: Render liquid in Sass Given I have an "index.scss" page that contains ".foo-bar { color:{{site.color}}; }" + And I have a configuration file with "color" set to "red" When I run jekyll build - Then the _site directory should not exist - And I should see "Invalid CSS after" in the build output + Then the _site directory should exist + And I should see ".foo-bar {\n color: red; }" in "_site/index.css" Scenario: Render liquid in CoffeeScript Given I have an "index.coffee" page with animal "cicada" that contains "hey='for {{page.animal}}'" diff --git a/lib/jekyll/convertible.rb b/lib/jekyll/convertible.rb index 72d825fa..8f63ea1a 100644 --- a/lib/jekyll/convertible.rb +++ b/lib/jekyll/convertible.rb @@ -67,6 +67,7 @@ module Jekyll converter.convert output rescue => e Jekyll.logger.error "Conversion error:", "#{converter.class} encountered an error converting '#{path}'." + Jekyll.logger.error("Conversion error:", e.to_s) raise e end end