From: Dietmar Maurer Date: Mon, 23 Jun 2014 11:53:41 +0000 (+0200) Subject: improve debug message X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=b732bea70164f99784061d67c24f38b11fdc1d8c improve debug message --- diff --git a/data/PVE/SectionConfig.pm b/data/PVE/SectionConfig.pm index 5a6dcb1..06ebbe7 100644 --- a/data/PVE/SectionConfig.pm +++ b/data/PVE/SectionConfig.pm @@ -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) {