mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2025-01-03 08:13:49 +01:00
Small correction in log text
This commit is contained in:
parent
0a51cee8c9
commit
87a4c2a830
@ -267,7 +267,6 @@ function M.set(key, value, noCommit)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
local valid,m = isValid(value, base)
|
local valid,m = isValid(value, base)
|
||||||
if not valid then
|
if not valid then
|
||||||
return false,m
|
return false,m
|
||||||
@ -278,7 +277,7 @@ function M.set(key, value, noCommit)
|
|||||||
section = M.get(base.subSection)
|
section = M.get(base.subSection)
|
||||||
local rv, msg = uci:set(UCI_CONFIG_NAME, section, UCI_CONFIG_TYPE)
|
local rv, msg = uci:set(UCI_CONFIG_NAME, section, UCI_CONFIG_TYPE)
|
||||||
if not rv and msg ~= nil then
|
if not rv and msg ~= nil then
|
||||||
local errorMSG = "Issue creating subsection '"..utils.dump(section).."': "..utils.dump(msg);
|
local errorMSG = "Issue getting subsection '"..utils.dump(base.subSection).."': "..utils.dump(msg);
|
||||||
log:info(errorMSG)
|
log:info(errorMSG)
|
||||||
return nil, errorMSG;
|
return nil, errorMSG;
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user