Merge pull request #138 from Niklp09/quarry_log

log position of coroutine errors
This commit is contained in:
Joachim Stolberg 2023-07-20 18:43:53 +02:00 committed by GitHub
commit 7947d23719
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,7 +243,7 @@ local function keep_running(pos, elapsed)
local crd = CRD(pos)
local _, err = coroutine.resume(mem.co, pos, crd, nvm)
if err then
minetest.log("error", "[TA4 Quarry Coroutine Error]" .. err)
minetest.log("error", "[TA4 Quarry Coroutine Error] at pos " .. minetest.pos_to_string(pos) .. " " .. err)
end
if techage.is_activeformspec(pos) then