Handle unknown types a little nicer

This commit is contained in:
Matthew Slowe 2021-06-12 17:02:15 +01:00
parent 965c94a223
commit 07dc0d75c5

View File

@ -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);