From 2a8fb76e8483ee4df174b94275b0b3c883583aaa Mon Sep 17 00:00:00 2001 From: Sebdraven Date: Tue, 10 Jul 2018 14:56:20 +0200 Subject: [PATCH] add logs --- misp_modules/modules/expansion/dnstrails.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/misp_modules/modules/expansion/dnstrails.py b/misp_modules/modules/expansion/dnstrails.py index d1c276a..cb00262 100644 --- a/misp_modules/modules/expansion/dnstrails.py +++ b/misp_modules/modules/expansion/dnstrails.py @@ -236,6 +236,9 @@ def expand_whois(api, domain): } ) + # TODO File "modules/expansion/dnstrails.py", line 230, in expand_whois + # 'values': [item_registrant['email'], + # TypeError: 'NoneType' object is not subscriptable except APIError as e: misperrors['error'] = e @@ -254,5 +257,6 @@ def version(): def __select_registrant_item(entry): if 'contacts' in entry: for c in entry['contacts']: + print(c) if c['type'] == 'registrant': return entry