foundation-cli
foundation-cli copied to clipboard
Handle `Error: getaddrinfo ENOTFOUND`
When not connected to the Internet, foundation-cli barfs out this:
events.js:163
throw er; // Unhandled 'error' event
^
Error: getaddrinfo ENOTFOUND foundation.zurb.com foundation.zurb.com:80
at errnoException (dns.js:28:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:73:26)
Just needs to be handled.