rm unneeded error landing
nvim by default shows stackrace path so I dont think we should be having this.
This commit is contained in:
parent
766d52db12
commit
559acbd135
1 changed files with 1 additions and 5 deletions
6
init.lua
6
init.lua
|
@ -13,11 +13,7 @@ async =
|
||||||
vim.schedule_wrap(
|
vim.schedule_wrap(
|
||||||
function()
|
function()
|
||||||
for i = 1, #chad_modules, 1 do
|
for i = 1, #chad_modules, 1 do
|
||||||
local ok, res = xpcall(require, debug.traceback, chad_modules[i])
|
pcall(require, chad_modules[i])
|
||||||
if not (ok) then
|
|
||||||
print("Error loading module : " .. chad_modules[i])
|
|
||||||
print(res) -- print stack traceback of the error
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
async:close()
|
async:close()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue