Skip to content

Commit

Permalink
Fixed wrong logging level string
Browse files Browse the repository at this point in the history
  • Loading branch information
OSINT-TECHNOLOGIES committed Sep 5, 2024
1 parent e04ca03 commit e40b53f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datagather_modules/crawl_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def whois_gather(short_domain):
w['org'] = 'n/a'
logging.info('WHOIS INFO GATHERING: OK')
return w
except whois.parser.PywhoisError as e:
except Exception as e:
print(Fore.RED + "Error while gathering WHOIS information. See journal for details")
logging.ERROR(f'WHOIS GATHERING: ERROR. REASON: {e}')
logging.error(f'WHOIS GATHERING: ERROR. REASON: {e}')
pass

def contact_mail_gather(url):
Expand Down

0 comments on commit e40b53f

Please sign in to comment.