Browse Source

Improved logging for failed cache creation.

Thorsten Eckel 6 years ago
parent
commit
9d71bb2a57
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/cache.rb

+ 1 - 0
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