mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 11:48:02 -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
|
||||
|
||||
* [#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
|
||||
|
||||
asie
|
||||
asie, AutumnalModding, jasonS05, kcinnajlol
|
@ -1,7 +1,7 @@
|
||||
-- called from /init.lua
|
||||
local raw_loadfile = ...
|
||||
|
||||
_G._OSVERSION = "OpenOS 1.8.7"
|
||||
_G._OSVERSION = "OpenOS 1.8.8"
|
||||
|
||||
-- luacheck: globals component computer unicode _OSVERSION
|
||||
local component = component
|
||||
|
@ -81,6 +81,8 @@ function process.load(path, env, init, name)
|
||||
function(msg)
|
||||
io.stderr:write("process library exception handler crashed: ", tostring(msg))
|
||||
end)
|
||||
|
||||
result[2] = 128
|
||||
end
|
||||
|
||||
-- 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