From f710162beda5cee2005cff6df50d30a09c1af25d Mon Sep 17 00:00:00 2001 From: Sebdraven Date: Tue, 10 Jul 2018 14:59:39 +0200 Subject: [PATCH] change errors --- misp_modules/modules/expansion/dnstrails.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misp_modules/modules/expansion/dnstrails.py b/misp_modules/modules/expansion/dnstrails.py index cb00262..bf16601 100644 --- a/misp_modules/modules/expansion/dnstrails.py +++ b/misp_modules/modules/expansion/dnstrails.py @@ -83,7 +83,7 @@ def handle_domain(api, domain, misperrors): if status_ok: result_filtered['results'].extend(r) else: - misperrors['error'] = 'Error dns result' + misperrors['error'] = 'Error subdomains result' return misperrors r, status_ok = expand_whois(api, domain) @@ -91,7 +91,7 @@ def handle_domain(api, domain, misperrors): if status_ok: result_filtered['results'].extend(r) else: - misperrors['error'] = 'Error dns result' + misperrors['error'] = 'Error whois result' return misperrors return result_filtered