]> git.proxmox.com Git - pve-common.git/blobdiff - data/PVE/SectionConfig.pm
improve debug message
[pve-common.git] / data / PVE / SectionConfig.pm
index 5a6dcb1b16cb29c092c07ee979957c09db559c1b..06ebbe79cf11cea7545dc21b71c279d085b08265 100644 (file)
@@ -115,7 +115,7 @@ sub init {
     foreach my $type (keys %$plugins) {
        my $props = $plugins->{$type}->properties();
        foreach my $p (keys %$props) {
-           die "duplicate property" if defined($propertyList->{$p});
+           die "duplicate property '$p'" if defined($propertyList->{$p});
            my $res = $propertyList->{$p} = {};
            my $data = $props->{$p};
            for my $a (keys %$data) {