mirror of
https://github.com/kepler155c/opus
synced 2025-12-19 06:38:06 +00:00
better errors + modules as devices (try #2) + pretty lua output
This commit is contained in:
@@ -92,7 +92,7 @@ function Routine:resume(event, ...)
|
||||
term.redirect(previousTerm)
|
||||
|
||||
if not ok and self.haltOnError then
|
||||
error(result)
|
||||
error(result, -1)
|
||||
end
|
||||
if coroutine.status(self.co) == 'dead' then
|
||||
Util.removeByValue(kernel.routines, self)
|
||||
|
||||
Reference in New Issue
Block a user