Commit b7335586 authored by Łukasz Nowak's avatar Łukasz Nowak

Avoid errors in case of full site reindexation.

parent fa875b9f
...@@ -191,10 +191,12 @@ class SlapTool(BaseTool): ...@@ -191,10 +191,12 @@ class SlapTool(BaseTool):
.getRamCacheRoot().get('computer_information_cache_factory'\ .getRamCacheRoot().get('computer_information_cache_factory'\
).cache_duration ).cache_duration
) )
except Unauthorized: except (Unauthorized, IndexError):
# XXX: Hack. Race condition of not ready setup delivery which provides # XXX: Unauthorized hack. Race condition of not ready setup delivery which provides
# security information shall not make this method fail, as it will be # security information shall not make this method fail, as it will be
# called later anyway # called later anyway
# Note: IndexError ignored, as it happend in case if full reindex is
# called on site
pass pass
def _storeLastData(self, key, value): def _storeLastData(self, key, value):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment