summaryrefslogtreecommitdiff
path: root/server/src/parser/ast.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/parser/ast.lua')
-rw-r--r--server/src/parser/ast.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/parser/ast.lua b/server/src/parser/ast.lua
index 0cef46a1..b02daefa 100644
--- a/server/src/parser/ast.lua
+++ b/server/src/parser/ast.lua
@@ -419,7 +419,7 @@ return function (self, lua, mode)
return nil, res
end
if not res then
- return nil, err
+ return nil, {err}
end
return res
end