diff --git a/cmd/algons/dnsaddrCmd.go b/cmd/algons/dnsaddrCmd.go index c8fb1ac52b..b248c867f2 100644 --- a/cmd/algons/dnsaddrCmd.go +++ b/cmd/algons/dnsaddrCmd.go @@ -141,7 +141,7 @@ var dnsaddrTreeCreateCmd = &cobra.Command{ dnsaddrsFrom := []string{fmt.Sprintf("_dnsaddr.%s", dnsaddrDomain)} entries, err := getEntries(dnsaddrsFrom[0], "TXT") if err != nil { - fmt.Printf("failed fetching entries for %s\n", dnsaddrsFrom[0]) + fmt.Printf("failed fetching entries for %s: %v\n", dnsaddrsFrom[0], err) os.Exit(1) } if len(entries) > 0 {