Verified Commit e1465bff authored by Karel Koci's avatar Karel Koci 🤘
Browse files

lib/lua/request: fix typo in exception extension

parent 46a49531
......@@ -430,7 +430,7 @@ function script(context, filler, script_uri, extra)
local err = sandbox.run_sandboxed(content, script_uri, extra.security, context, merge)
if err and err.tp == 'error' then
if not err.origin then
err.oririn = script_uri
err.origin = script_uri
end
error(err)
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment