From ad7d154c5a27619d9066e799caa01159588bde30 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer <mschiffer@universe-factory.net> 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 b268e0b31..3fca6a8cf 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 -- GitLab