From b732bea70164f99784061d67c24f38b11fdc1d8c Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 23 Jun 2014 13:53:41 +0200 Subject: [PATCH] improve debug message --- data/PVE/SectionConfig.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5