This commit is contained in:
Jack Robison 2021-05-07 16:51:19 -04:00
parent 48c9e9f3cc
commit eba0c9be34
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -90,7 +90,7 @@ class SearchIndex:
index_version = await self.get_index_version()
if index_version != self.VERSION:
self.logger.error("es search index has an incompatible version: %s vs %s", index_version, self.VERSION)
raise IndexVersionMismatch(f"{index_version} vs {self.VERSION}")
raise IndexVersionMismatch(index_version, self.VERSION)
return acked
def stop(self):