v0.4.0 - Aaaand event.lua is no longer working. FUUUUUUUUU
This commit is contained in:
@@ -13,11 +13,10 @@ function _G.cormgr.loadCoroutine(path)
|
||||
end
|
||||
|
||||
function handleError(errormsg)
|
||||
if errormsg~=nil then
|
||||
-- nothing for now
|
||||
error(tostring(errormsg))
|
||||
if errormsg == nil then
|
||||
error("unknown error")
|
||||
else
|
||||
error("An error has occured, but given as 'nil'.")
|
||||
error(tostring(errormsg).."\n \n"..debug.traceback())
|
||||
end
|
||||
end
|
||||
|
||||
@@ -59,4 +58,4 @@ while true do
|
||||
if #_G.cormgr.corList == 0 then
|
||||
computer.shutdown()
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user