diff --git a/features/rendering.feature b/features/rendering.feature index 5f71e2cd1ef..ca90ce549bb 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: Don't render liquid in CoffeeScript Given I have an "index.coffee" page that contains "hey='for {{site.animal}}'" diff --git a/lib/jekyll/convertible.rb b/lib/jekyll/convertible.rb index d513d737729..59e7f1bfff6 100644 --- a/lib/jekyll/convertible.rb +++ b/lib/jekyll/convertible.rb @@ -67,6 +67,7 @@ def transform 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