Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
orvice committed Aug 16, 2023
1 parent a7728bb commit faf3c46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dns/cloudflare.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ func (c *CloudFlare) UpdateIP(ctx context.Context, domain, ip string) error {
"domain", domain, "old_ip", oldIP, "new_ip", ip)

if err != nil {
slog.Error("update dns record error",
"err", err)
return err
}
notify.Notify(ctx, fmt.Sprintf(config.IpNotifyFormat, domain, oldIP, ip))
Expand Down

0 comments on commit faf3c46

Please sign in to comment.