add debug output for unknown data type

This commit is contained in:
Johannes 'josch' Schauer 2019-10-28 14:53:03 +01:00
parent da4f9e4349
commit e12db588bd
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -944,7 +944,7 @@ sub setup {
} elsif (ref $value eq 'ARRAY') { } elsif (ref $value eq 'ARRAY') {
debug "$key: [" . (join ', ', @{$value}) . "]"; debug "$key: [" . (join ', ', @{$value}) . "]";
} else { } else {
error "unknown type"; error "unknown type for key $key: " . (ref $value);
} }
} }