summaryrefslogtreecommitdiff
path: root/lib/lace/compiler.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lace/compiler.lua')
-rw-r--r--lib/lace/compiler.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lace/compiler.lua b/lib/lace/compiler.lua
index 5d43547..d3a393d 100644
--- a/lib/lace/compiler.lua
+++ b/lib/lace/compiler.lua
@@ -43,8 +43,8 @@ local function _command(ctx, name)
end
local function _normalise_error(ctx, err)
- -- For now, just return the string
- return err.msg
+ -- For now, just return the error
+ return err
end
local function _setposition(context, ruleset, linenr)