automationai / nshreport

MIT License
0 stars 0 forks source link

Handle error while domain name cannot be resolved to IP #14

Open automationai opened 3 years ago

automationai commented 3 years ago

Current error message:

C:\Users\jun.pan\Dropbox\master\etc\ports>nshreport -f service_ports_internal.txt
Network Services Health Report Tool 0.1.4 - Author: Jason.Pan@Aveva.com
https://github.com/AutomationAI/nshreport

Here's your network services health report:

[Errno 11001] getaddrinfo failed

Expected message:

Cannot resolve domain name to IP on line xxx: xxx.yyy.com.