Skip to content

A platform for community discussion. Free, open, simple.

DEV: decrease log level of compile failures

Sam70155f092370
diff --git a/lib/stylesheet/manager.rb b/lib/stylesheet/manager.rb
index dec9325ac8e..8279c3d3f70 100644
--- a/lib/stylesheet/manager.rb
+++ b/lib/stylesheet/manager.rb
@@ -165,7 +165,10 @@ class Stylesheet::Manager
source_map_file: source_map_filename
)
rescue SassC::SyntaxError => e
- Rails.logger.error "Failed to compile #{@target} stylesheet: #{e.message}"
+
+ # we do not need this reported as we will report it in the UI anyway
+ Rails.logger.info "Failed to compile #{@target} stylesheet: #{e.message}"
+
if %w{embedded_theme mobile_theme desktop_theme}.include?(@target.to_s)
# no special errors for theme, handled in theme editor
["", nil]