rails/rails — pull request #5125 by winston (2012-02-22 12:12:43+00:00)
Title: #read_entry in ActiveSupport::Cache::FileStore should log details of the exception when an exception is thrown

Currently, when an exception is thrown in the private method ActiveSupport::Cache::FileStore#read_entry, the exception is rescued and the method fails silently.

Besides failing gracefully, we should also log the exception so that it's easily debuggable.

This follows the convention in ActiveSupport::Cache::MemCacheStore#read_entry which logs the exception when one is thrown.

Thanks!