From 847d004c1379066f3713fe048a1437dd9463990f Mon Sep 17 00:00:00 2001 From: terrtia Date: Tue, 12 Dec 2023 11:05:23 +0100 Subject: [PATCH] fix: [crawler] debug --- bin/crawlers/Crawler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/crawlers/Crawler.py b/bin/crawlers/Crawler.py index fd86da8a..417dab4f 100755 --- a/bin/crawlers/Crawler.py +++ b/bin/crawlers/Crawler.py @@ -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)