mirror of https://github.com/CIRCL/lookyloo
fix: do not re-cache captures with errors.
parent
d2b5605182
commit
8c77b9372b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue