log position of coroutine errors
This commit is contained in:
parent
ec34c87b97
commit
0f8846d6f6
@ -243,7 +243,7 @@ local function keep_running(pos, elapsed)
|
|||||||
local crd = CRD(pos)
|
local crd = CRD(pos)
|
||||||
local _, err = coroutine.resume(mem.co, pos, crd, nvm)
|
local _, err = coroutine.resume(mem.co, pos, crd, nvm)
|
||||||
if err then
|
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
|
end
|
||||||
|
|
||||||
if techage.is_activeformspec(pos) then
|
if techage.is_activeformspec(pos) then
|
||||||
|
Loading…
Reference in New Issue
Block a user