mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05:00
FIX: warn_exception expect hash as second arg (#16490)
This commit is contained in:
@@ -258,7 +258,7 @@ module SvgSprite
|
||||
}
|
||||
rescue => e
|
||||
name = Theme.find(child_theme_id).name rescue nil
|
||||
Discourse.warn_exception(e, "#{name} theme contains a corrupt svg upload")
|
||||
Discourse.warn_exception(e, message: "#{name} theme contains a corrupt svg upload")
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user