1
0
mirror of https://github.com/kepler155c/opus synced 2025-12-17 13:48:05 +00:00

transition to kernel

This commit is contained in:
kepler155c@gmail.com
2018-01-21 05:44:13 -05:00
parent 1c1eb9b782
commit e59400eb2b
16 changed files with 87 additions and 72 deletions

View File

@@ -1,4 +1,4 @@
_G.requireInjector()
_G.requireInjector(_ENV)
local Terminal = require('terminal')
local Util = require('util')
@@ -137,8 +137,8 @@ function kernel.launch(routine)
err = 'kernel: invalid routine'
end
if not result and err and err ~= 'Terminated' then
error(err, 2)
if not result and err ~= 'Terminated' then
error(err or 'Error occurred', 2)
end
end)