Add some additional error handling when updating the project cache