From: Dietmar Maurer Date: Fri, 3 Apr 2015 06:10:23 +0000 (+0200) Subject: improve error message X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=3432ae0c5e45e181491a8bf90231c3a398086ee2;hp=1cfd43f6f9db140eae25efa3817628680e6cc940;ds=sidebyside improve error message --- diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm index 3e0fd52..c2afc96 100644 --- a/src/PVE/JSONSchema.pm +++ b/src/PVE/JSONSchema.pm @@ -37,7 +37,7 @@ sub get_standard_option { 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 || {};