app/services/hyrax/user_stat_importer.rb in hyrax-3.6.0 vs app/services/hyrax/user_stat_importer.rb in hyrax-4.0.0.beta1
- old
+ new
@@ -82,11 +82,9 @@
return yield
end
rescue StandardError => exception
log_message fail_message
log_message "Last exception #{exception}"
- # Without returning false, we return the results of log_message; which is true.
- false
end
def date_since_last_cache(user)
last_cached_stat = UserStat.where(user_id: user.id).order(date: :asc).last