Skip to content

Commit d8000dc

Browse files
Updated lua/gitlab/server.lua
1 parent 780c532 commit d8000dc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lua/gitlab/server.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,11 @@ M.get_version = function(callback)
192192
job.run_job("/version", "GET", nil, function(data)
193193
local binary_version = data.version
194194
callback({ plugin_version = plugin_version, binary_version = binary_version })
195+
end, function(error)
196+
u.notify(
197+
string.format("Failed to get version from server: %s", error.details or error.message),
198+
vim.log.levels.ERROR
199+
)
195200
end)
196201
end
197202

0 commit comments

Comments
 (0)