mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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
@ -323,7 +323,9 @@ class BadgeGranter
|
|||||||
end
|
end
|
||||||
|
|
||||||
badge.reset_grant_count!
|
badge.reset_grant_count!
|
||||||
|
rescue => ex
|
||||||
|
Rails.logger.error("Failed to backfill '#{badge.type}' badge: #{opts}")
|
||||||
|
raise ex
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user