Correct typo #50125

This commit is contained in:
osmarks 2018-08-12 17:13:15 +01:00
parent 424f5deebb
commit 8d99531058

View File

@ -252,7 +252,7 @@ local function unwrap(x, msg)
if x.type == "error" then
local text = "An error occured"
if msg then text .. " " .. msg
if msg then text = text .. " " .. msg
else text = text .. "!" end
text = text .. ".\nDetails: " .. errors.format(x.error)
error(text)