diff --git a/lib/staticmatic/template_error.rb b/lib/staticmatic/template_error.rb
index <HASH>..<HASH> 100644
--- a/lib/staticmatic/template_error.rb
+++ b/lib/staticmatic/template_error.rb
@@ -20,7 +20,7 @@ class StaticMatic::TemplateError < StandardError
   end
   
   def source_extract(indentation = 0)
-    return unless num = line_number
+    return "" unless num = line_number
     num = num.to_i
 
     source_code = @source.split("\n")
Minor fix to error handler - sass errors actually render now