fix: [crawlers] fix capture return error code

This commit is contained in:
terrtia 2024-01-30 11:35:43 +01:00
parent d1608e89e1
commit 194ae960fc
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -161,7 +161,7 @@ class Crawler(AbstractModule):
except ConnectionError:
print(capture.uuid)
capture.update(self, -1)
capture.update(-1)
self.refresh_lacus_status()
time.sleep(self.pending_seconds)