diff --git a/Server/Plugins/APIDump/main_APIDump.lua b/Server/Plugins/APIDump/main_APIDump.lua index adb2b1c1c..da56e3444 100644 --- a/Server/Plugins/APIDump/main_APIDump.lua +++ b/Server/Plugins/APIDump/main_APIDump.lua @@ -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 "") + LOGERROR("Cannot check for new undocumented symbols: " .. (msg or "")) + 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