diff --git a/lookyloo/lookyloo.py b/lookyloo/lookyloo.py index efc1dee5..fb9f5bfd 100644 --- a/lookyloo/lookyloo.py +++ b/lookyloo/lookyloo.py @@ -429,7 +429,7 @@ class Lookyloo(): try: cache = self._captures_index[capture_uuid] # 2022-12-07: New cache format, store the user agent and referers. Re-cache if needed - if cache and not cache.user_agent: + if cache and not cache.user_agent and not cache.error: self._captures_index.reload_cache(capture_uuid) cache = self._captures_index[capture_uuid] return cache