Remove panic

Don't explicitly panic if the cache can't be read. Instead return an
error and let the application determine how to handle it.