From 3432ae0c5e45e181491a8bf90231c3a398086ee2 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 3 Apr 2015 08:10:23 +0200 Subject: [PATCH] improve error message --- src/PVE/JSONSchema.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 || {}; -- 2.39.2