fix: [crawler] debug

dev
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
1 changed files with 2 additions and 0 deletions

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)