From 8d99531058681247948df4bad543d72372f0aa24 Mon Sep 17 00:00:00 2001 From: osmarks Date: Sun, 12 Aug 2018 17:13:15 +0100 Subject: [PATCH] Correct typo #50125 --- lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.lua b/lib.lua index 63ce895..5e34b51 100644 --- a/lib.lua +++ b/lib.lua @@ -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)