From cb5c6e90df1f66b1c1a18b0505320e800e69fcdb Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Mon, 8 Jan 2024 09:59:50 -0500 Subject: [PATCH] health: more info for node resolution --- lua/sg/health.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/sg/health.lua b/lua/sg/health.lua index e6985539..f404119c 100644 --- a/lua/sg/health.lua +++ b/lua/sg/health.lua @@ -102,7 +102,7 @@ local report_agent = function() local ok, reason = require("sg.utils").valid_node_executable(config.node_executable) if not ok then - vim.health.error("Invalid node executable: " .. vim.inspect(reason)) + vim.health.error(string.format("Invalid node executable (%s): %s", config.node_executable, vim.inspect(reason))) return false end