From fc3bbdc91cb228247f3ea1206b8391bb1e9ed586 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Sat, 23 Dec 2023 01:53:53 +0100 Subject: [PATCH] [utils] Add extra logging on failure to load module --- lua/utils.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/utils.lua b/lua/utils.lua index 385b5c3..02539f6 100644 --- a/lua/utils.lua +++ b/lua/utils.lua @@ -111,6 +111,7 @@ function M.try_require(module, err_title, on_success) end M.err(("Failed to load module %s"):format(module), err_title) + M.err(resp, err_title) end return M