From 4aa9b062de8c86988142dc4a8570cf6340ac0f9f Mon Sep 17 00:00:00 2001 From: Dan Lucraft Date: Wed, 5 Apr 2017 17:40:46 +0100 Subject: [PATCH] Should log this warning instead of putsing --- lib/svg_inliner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svg_inliner.rb b/lib/svg_inliner.rb index cfae92f..0b5b232 100644 --- a/lib/svg_inliner.rb +++ b/lib/svg_inliner.rb @@ -87,7 +87,7 @@ def set_svg_opts(symbol, options) role: options[:role] } else - puts "Missing in symbol. svg_inliner didn't add aria label to svg." + Rails.logger.warn "Missing <title> in symbol. svg_inliner didn't add aria label to svg." end end