mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 11:53:38 +08:00
FIX: warn_exception expect hash as second arg (#16490)
This commit is contained in:
parent
34fba417f1
commit
f0d46c3549
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user