rm unneeded error landing

nvim by default shows stackrace path so I dont think we should be having this.
This commit is contained in:
siduck76 2021-07-23 18:17:31 +05:30 committed by GitHub
parent 766d52db12
commit 559acbd135
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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