1
0

APIDump: Make "apicheck" errors stand out in the log.

This commit is contained in:
Mattes D 2016-12-15 20:22:19 +01:00
parent fc40932ab1
commit 3516edff5b

View File

@ -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