fix: [crawler] debug

This commit is contained in:
terrtia 2023-12-12 11:05:23 +01:00
parent d376612d51
commit 847d004c13
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -219,6 +219,8 @@ class Crawler(AbstractModule):
task = capture.get_task()
domain = task.get_domain()
print(domain)
if not domain:
raise Exception(f'Error: domain {domain}')
self.domain = Domain(domain)
self.original_domain = Domain(domain)