summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/main_APIDump.lua6
1 files changed, 4 insertions, 2 deletions
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 "<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