namecheap: Log message improvements

This commit is contained in:
Richard Hansen 2024-07-27 23:38:01 -04:00
parent 71dc1f92e4
commit 0c2c97123f

View file

@ -4580,12 +4580,10 @@ sub nic_namecheap_update {
$config{$h}{'ip'} = $ip; $config{$h}{'ip'} = $ip;
$config{$h}{'mtime'} = $now; $config{$h}{'mtime'} = $now;
$config{$h}{'status'} = 'good'; $config{$h}{'status'} = 'good';
success("updating %s: good: IP address set to %s", $h, $ip); success("$h: IP address set to $ip");
} else { } else {
$config{$h}{'status'} = 'failed'; $config{$h}{'status'} = 'failed';
warning("SENT: %s", $url) unless opt('verbose'); failed("$h: invalid reply: $reply");
warning("REPLIED: %s", $reply);
failed("updating %s: Invalid reply.", $h);
} }
} }
} }