From afea99e6ab959c2e97064ab74f8a9501e1b19dbc Mon Sep 17 00:00:00 2001 From: Zeioth Date: Mon, 20 May 2024 23:16:56 +0200 Subject: [PATCH] refactor(log): We now log when a command could not be executed. --- lua/null-ls/sources.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/null-ls/sources.lua b/lua/null-ls/sources.lua index e7ad1f39..e1860119 100644 --- a/lua/null-ls/sources.lua +++ b/lua/null-ls/sources.lua @@ -103,6 +103,7 @@ M.is_executable = function(source) if source.generator.opts.command then if vim.fn.executable(source.generator.opts.command) == 0 then -- if the command is not executable + log:error("failed to execute command: " .. source.generator.opts.command) return false end end