]> git.proxmox.com Git - pve-common.git/commitdiff
improve debug message
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 23 Jun 2014 11:53:41 +0000 (13:53 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 23 Jun 2014 11:53:41 +0000 (13:53 +0200)
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) {
     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) {
            my $res = $propertyList->{$p} = {};
            my $data = $props->{$p};
            for my $a (keys %$data) {