1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

enhance error handling

This commit is contained in:
Timothy 2014-05-22 23:05:39 +08:00
parent 9fb9715bc1
commit eed9320bae

View File

@ -56,6 +56,10 @@ func dns_loop(loop chan bool) {
sub_domain_id, ip := get_subdomain(domain_id, Configuration.Sub_domain)
if sub_domain_id == "" || ip == "" {
continue
}
fmt.Printf("currentIp is:%s\n", currentIP)
log.Infof("currentIp is:%s\n", currentIP)