Skip to content

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

DEV: Fix the error message from the deprecated icon handler

Loïc Guitaut5e9a1a64c7be
diff --git a/lib/deprecated_icon_handler.rb b/lib/deprecated_icon_handler.rb
index 48eaac66704..846e8881814 100644
--- a/lib/deprecated_icon_handler.rb
+++ b/lib/deprecated_icon_handler.rb
@@ -688,7 +688,7 @@ module DeprecatedIconHandler
if icon_name != new_name
error_msg =
- `Missing icon error: The icon name "#{icon_name}" has been removed and should be updated to "#{new_name}" in your code. More info at https://meta.discourse.org/t/325349.`
+ "Missing icon error: The icon name \"#{icon_name}\" has been removed and should be updated to \"#{new_name}\" in your code. More info at https://meta.discourse.org/t/325349."
Rails.logger.error(error_msg)