We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 780c532 commit d8000dcCopy full SHA for d8000dc
1 file changed
lua/gitlab/server.lua
@@ -192,6 +192,11 @@ M.get_version = function(callback)
192
job.run_job("/version", "GET", nil, function(data)
193
local binary_version = data.version
194
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
+ )
200
end)
201
end
202
0 commit comments