Handle unknown types a little nicer
This commit is contained in:
parent
965c94a223
commit
07dc0d75c5
@ -137,7 +137,8 @@ sub reformat_data($$) {
|
|||||||
sub check_and_update_record($$$$$) {
|
sub check_and_update_record($$$$$) {
|
||||||
my ($zone, $data, $type, $host, $value) = @_;
|
my ($zone, $data, $type, $host, $value) = @_;
|
||||||
if(my $err = is_unsupported($type)) {
|
if(my $err = is_unsupported($type)) {
|
||||||
die ("Unable to process $host $type: $err");
|
warn ("WARNING: Unable to process $host $type: $err");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
# _info("Considering %s %s %s", $host, $type, $value);
|
# _info("Considering %s %s %s", $host, $type, $value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user