Skip to content
Snippets Groups Projects
Unverified Commit ad7d154c authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

scripts/check_site.lua: show type of incorrect values in error messages

parent b7be32d9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment