log errors on cachehandler