mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
FIX: Better logging when badges fail to backfill.
This commit is contained in:
@@ -317,7 +317,9 @@ class BadgeGranter
|
||||
end
|
||||
|
||||
badge.reset_grant_count!
|
||||
|
||||
rescue => ex
|
||||
Rails.logger.error("Failed to backfill '#{badge.type}' badge: #{opts}")
|
||||
raise ex
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user