Skip to content

Commit

Permalink
fix error printing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozef Reisinger committed Nov 6, 2021
1 parent 7e1b679 commit f65d456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkip.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func Print(results []Result) error {
var malicious, totalSec float64
for _, r := range results {
if r.Err != nil {
log.Print(r.Err)
log.Print(r.ErrMsg)
}
if r.Type == "Info" {
fmt.Printf("%-15s %s\n", r.Name, r.Info)
Expand Down

0 comments on commit f65d456

Please sign in to comment.