catch and log caching error
Merge pull request #169 from dimagi/caching_error

catch and log caching error