Don't verbose print errors
This commit is contained in:
parent
60c49f9f7d
commit
9ab0564adf
2
main.go
2
main.go
@ -50,7 +50,7 @@ func main() {
|
|||||||
|
|
||||||
res, err := getDate(j.host, j.port)
|
res, err := getDate(j.host, j.port)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("get date: %+v", err)
|
log.Printf("get date: %v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
fmt.Printf("%-24v %v\n", res.host, res.exp)
|
fmt.Printf("%-24v %v\n", res.host, res.exp)
|
||||||
|
Loading…
Reference in New Issue
Block a user