fix(#1831): improve fs_scandir error handling, add profiling

This commit is contained in:
Alexander Courtis
2022-12-17 16:59:09 +11:00
parent 87409bb4af
commit 89c79cb33b
5 changed files with 62 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ do
if has_notify and notify_plugin then
notify_plugin(msg, level, { title = "NvimTree" })
else
vim.notify("[NvimTree] " .. msg, level)
vim.notify(string.format("[NvimTree] %s", vim.inspect(msg)), level)
end
end)
end