yes, if I read it correctly the only expected error here is 404 when the repository doesn't exist.

so `except elasticsearch.NotFoundError:`