mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 11:03:48 +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
|
||||
|
||||
|
||||
local valid,m = isValid(value, base)
|
||||
if not valid then
|
||||
return false,m
|
||||
@ -278,7 +277,7 @@ function M.set(key, value, noCommit)
|
||||
section = M.get(base.subSection)
|
||||
local rv, msg = uci:set(UCI_CONFIG_NAME, section, UCI_CONFIG_TYPE)
|
||||
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)
|
||||
return nil, errorMSG;
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user