better error message

pull/171/head
siduck76 3 years ago committed by GitHub
parent 5531edf8e4
commit b54c4ca5de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,7 +15,7 @@ async =
for i = 1, #chad_modules, 1 do
local ok, res = xpcall(require, debug.traceback, chad_modules[i])
if not (ok) then
print("NvChad [E0]: There was an error loading the module '" .. chad_modules[i] .. "' -->")
print("Error loading module : " .. chad_modules[i])
print(res) -- print stack traceback of the error
end
end

Loading…
Cancel
Save