summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/main_APIDump.lua
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-12-15 20:22:19 +0100
committerMattes D <github@xoft.cz>2016-12-15 20:22:19 +0100
commit3516edff5bec8af219bf59ece69d04920a3c182f (patch)
tree503125cdd97cf5c2e077ce9d04434801313a8cb4 /Server/Plugins/APIDump/main_APIDump.lua
parentMerge pull request #3478 from cuberite/FixBadChunkCoordsLoad (diff)
downloadcuberite-3516edff5bec8af219bf59ece69d04920a3c182f.tar
cuberite-3516edff5bec8af219bf59ece69d04920a3c182f.tar.gz
cuberite-3516edff5bec8af219bf59ece69d04920a3c182f.tar.bz2
cuberite-3516edff5bec8af219bf59ece69d04920a3c182f.tar.lz
cuberite-3516edff5bec8af219bf59ece69d04920a3c182f.tar.xz
cuberite-3516edff5bec8af219bf59ece69d04920a3c182f.tar.zst
cuberite-3516edff5bec8af219bf59ece69d04920a3c182f.zip
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