]> git.proxmox.com Git - pve-common.git/commitdiff
improve error message
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 3 Apr 2015 06:10:23 +0000 (08:10 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 3 Apr 2015 06:10:23 +0000 (08:10 +0200)
src/PVE/JSONSchema.pm

index 3e0fd52c13f54d0eab19e49dac5eece2129c7c5b..c2afc961e8f75c719ee9d8ae2f6981846c246508 100644 (file)
@@ -37,7 +37,7 @@ sub get_standard_option {
     my ($name, $base) = @_;
 
     my $std =  $standard_options->{$name};
     my ($name, $base) = @_;
 
     my $std =  $standard_options->{$name};
-    die "no such standard option\n" if !$std;
+    die "no such standard option '$name'\n" if !$std;
 
     my $res = $base || {};
 
 
     my $res = $base || {};