mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-22 04:45:46 -04:00
Merge pull request #4114 from tgxworld/better_logging_for_backfilling_badges
FIX: Better logging when badges fail to backfill.
This commit is contained in:
commit
fe54ece35e
1 changed files with 3 additions and 1 deletions
|
@ -323,7 +323,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