Skip to content

Commit

Permalink
fix: [crawler] debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Dec 12, 2023
1 parent d376612 commit 847d004
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/crawlers/Crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ def compute(self, capture):
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)
Expand Down

0 comments on commit 847d004

Please sign in to comment.