Bugfix: The job might not return JSON data, so we don't need to throw
here
This commit is contained in:
@@ -30,8 +30,6 @@ M.run_job = function(endpoint, method, body, callback)
|
||||
local message = string.format("%s: %s", data.message, data.details)
|
||||
vim.notify(message, vim.log.levels.ERROR)
|
||||
end
|
||||
else
|
||||
vim.notify("Could not parse command output!", vim.log.levels.ERROR)
|
||||
end
|
||||
end, 0)
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user