FIX: Better logging when badges fail to backfill.

This commit is contained in:
Guo Xiang Tan 2016-03-24 10:10:53 +08:00
parent 621372eb7b
commit 6f16896a2c

View File

@ -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