~humaid/cloudflare-ddns-client

f558303540db0697f9f5cb752a648649493ba3a6 — Jack Dallas 6 months ago 2343991
Add additional logging
1 files changed, 2 insertions(+), 1 deletions(-)

M main.go
M main.go => main.go +2 -1
@@ 26,9 26,10 @@ var (
)

func main() {
	log.Printf("Getting the ID of the record (%s)\n", Zone)
	log.Printf("Getting the ID of the record %s\n", Zone)
	recID, err := getRecordID()
	if err != nil {
		log.Printf("Failed to get the ID of the record %v\n", err)
		os.Exit(-1)
	}
	log.Printf("Got record ID: %s\n", recID)