Skip to content

Commit

Permalink
algons: expose error for dnsaddr command (#6121)
Browse files Browse the repository at this point in the history
  • Loading branch information
onetechnical authored Sep 3, 2024
1 parent 43cb563 commit b1d81bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/algons/dnsaddrCmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b1d81bc

Please sign in to comment.