aboutsummaryrefslogtreecommitdiffstats
path: root/util/error.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/error.lua')
-rw-r--r--util/error.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/error.lua b/util/error.lua
index cfb35350..e0b1f9a6 100644
--- a/util/error.lua
+++ b/util/error.lua
@@ -43,6 +43,7 @@ local function new(e, context, registry, source)
type = e.type;
condition = e.condition;
text = e.text;
+ extra = e.extra;
};
else
template = {};
@@ -61,6 +62,7 @@ local function new(e, context, registry, source)
condition = template.condition or "undefined-condition";
text = template.text;
code = template.code;
+ extra = template.extra;
context = context;
source = source;