mod Engine to handle cache errors with log handler