Improve an error message when using cache fails