mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-19 04:06:43 -04:00
Incorporate jasonS05's second OpenOS error handling fix
This commit is contained in:
parent
6f2260e865
commit
1e643ace90
@ -1,7 +1,9 @@
|
|||||||
## Fixes/improvements
|
## Fixes/improvements
|
||||||
|
|
||||||
* [#3769] Add default user agent configuration option; change OpenComputers' default user agent to "opencomputers/$version".
|
* [#3769] Add default user agent configuration option; change OpenComputers' default user agent to "opencomputers/$version".
|
||||||
|
* [#3759] Add V1 and V2 to the robot name list. (AutumnalModding)
|
||||||
|
* [#3727] Fix more regressions related to OpenOS error handling. (jasonS05, kcinnajlol)
|
||||||
|
|
||||||
## List of contributors
|
## List of contributors
|
||||||
|
|
||||||
asie
|
asie, AutumnalModding, jasonS05, kcinnajlol
|
@ -1,7 +1,7 @@
|
|||||||
-- called from /init.lua
|
-- called from /init.lua
|
||||||
local raw_loadfile = ...
|
local raw_loadfile = ...
|
||||||
|
|
||||||
_G._OSVERSION = "OpenOS 1.8.7"
|
_G._OSVERSION = "OpenOS 1.8.8"
|
||||||
|
|
||||||
-- luacheck: globals component computer unicode _OSVERSION
|
-- luacheck: globals component computer unicode _OSVERSION
|
||||||
local component = component
|
local component = component
|
||||||
|
@ -81,6 +81,8 @@ function process.load(path, env, init, name)
|
|||||||
function(msg)
|
function(msg)
|
||||||
io.stderr:write("process library exception handler crashed: ", tostring(msg))
|
io.stderr:write("process library exception handler crashed: ", tostring(msg))
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
result[2] = 128
|
||||||
end
|
end
|
||||||
|
|
||||||
-- onError opens a file, you can't open a file without a process, we close the process last
|
-- onError opens a file, you can't open a file without a process, we close the process last
|
||||||
|
Loading…
x
Reference in New Issue
Block a user