APIDump: Make "apicheck" errors stand out in the log.
This commit is contained in:
parent
fc40932ab1
commit
3516edff5b
@ -2108,9 +2108,11 @@ local function HandleCmdApiCheck(a_Split, a_EntireCmd)
|
||||
local newUndocumented, msg = CheckNewUndocumentedSymbols()
|
||||
if (newUndocumented) then
|
||||
if (newUndocumented == true) then
|
||||
return true, "Cannot check for new undocumented symbols: " .. (msg or "<no message>")
|
||||
LOGERROR("Cannot check for new undocumented symbols: " .. (msg or "<no message>"))
|
||||
return true
|
||||
else
|
||||
return true, "Found new undocumented symbols:\n" .. table.concat(newUndocumented, "\n")
|
||||
LOGERROR("Found new undocumented symbols:\n" .. table.concat(newUndocumented, "\n"))
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user