Fix yet another typo

This commit is contained in:
osmarks 2018-07-27 09:45:41 +01:00
parent 9954e2be1f
commit 7b6c2f5332

View File

@ -106,7 +106,7 @@ local function serve(fn, node_type)
if type(message) == "table" and message.type and message.type == "request" and message.request then if type(message) == "table" and message.type and message.type == "request" and message.request then
print("Request:", textutils.serialise(message.request)) print("Request:", textutils.serialise(message.request))
local ok, result = pcall(fn, request) local ok, result = pcall(fn, message.request)
if not ok then if not ok then
response = errors.make(errors.INTERNAL, result) response = errors.make(errors.INTERNAL, result)
print("Error:", textutils.serialise(result)) -- show error print("Error:", textutils.serialise(result)) -- show error