let's print a proper error message when the host was not found