aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/error.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/error.lua b/util/error.lua
index 44eb59a2..47d4e7b6 100644
--- a/util/error.lua
+++ b/util/error.lua
@@ -73,6 +73,8 @@ end
local function init(source, registry)
return {
+ source = source;
+ registry = registry;
new = function (e, context)
return new(e, context, registry, source);
end;