From f226bb8d06e67a599a2141bc1565594d6cf6bcac Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 1 Apr 2018 23:21:18 +0200 Subject: [PATCH] scripts/check_site.lua: show type of incorrect values in error messages --- scripts/check_site.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_site.lua b/scripts/check_site.lua index b268e0b3..3fca6a8c 100644 --- a/scripts/check_site.lua +++ b/scripts/check_site.lua @@ -108,7 +108,7 @@ local function var_error(path, val, msg) src = site_src() end - config_error(src, 'expected %s to %s, but it is %s', path_to_string(path), msg, tostring(val)) + config_error(src, 'expected %s to %s, but it is %s (a %s value)', path_to_string(path), msg, tostring(val), type(val)) end