Correct typo #50125

This commit is contained in:
osmarks 2018-08-12 17:13:15 +01:00
parent 424f5deebb
commit 8d99531058
1 changed files with 1 additions and 1 deletions

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)