change errors

pull/208/head
Sebdraven 2018-07-10 14:59:39 +02:00
parent 2a8fb76e84
commit f710162bed
1 changed files with 2 additions and 2 deletions

View File

@ -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