Skip to content

Commit d665406

Browse files
committed
Moving achiever template caching from Sentry warning to rails logger
Added sentry errror if achiever templates are not retrieved
1 parent ecab22b commit d665406

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/services/achiever/course/template.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ def self.all
107107
) do
108108
templates_to_cache = _all
109109

110-
# prompt a developer to check the caching context
111-
Sentry.capture_message("Caching #{templates_to_cache.size} achiever template cache(s)", level: :error)
110+
Rails.logger.info("Caching #{templates_to_cache.size} achiever template cache(s)")
112111

113112
templates_to_cache
114113
end

0 commit comments

Comments
 (0)