aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/error.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/error.lua b/util/error.lua
index 2c96bc03..ade1bb3b 100644
--- a/util/error.lua
+++ b/util/error.lua
@@ -36,7 +36,7 @@ end
local function new(e, context, registry, source)
local template = (registry and registry[e]) or e or {};
- context = context or template.context or { _error_id = e };
+ context = context or {};
if auto_inject_traceback then
context.traceback = debug.traceback("error stack", 2);