aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lsp/copilot.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp/copilot.lua b/lsp/copilot.lua
index 66c2dd54..4aa37f43 100644
--- a/lsp/copilot.lua
+++ b/lsp/copilot.lua
@@ -65,7 +65,7 @@ local function sign_in(bufnr, client)
if continue == 1 then
client:exec_cmd(command, { bufnr = bufnr }, function(cmd_err, cmd_result)
if cmd_err then
- vim.notify(err.message, vim.log.levels.ERROR)
+ vim.notify(cmd_err.message, vim.log.levels.ERROR)
return
end
if cmd_result.status == 'OK' then