From 9d71bb2a5742d293fb5fe07fd2e77bd2b90d45d7 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Fri, 11 May 2018 14:21:00 +0200 Subject: [PATCH] Improved logging for failed cache creation. --- lib/cache.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cache.rb b/lib/cache.rb index de89def9f..5ed764832 100644 --- a/lib/cache.rb +++ b/lib/cache.rb @@ -35,6 +35,7 @@ write a cache Rails.cache.write(key.to_s, data, params) rescue => e Rails.logger.error "Can't write cache #{key}: #{e.inspect}" + Rails.logger.error e end end