mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
FIX: Better logging when badges fail to backfill.
This commit is contained in:
parent
621372eb7b
commit
6f16896a2c
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue