We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a835f19 commit 19cb82dCopy full SHA for 19cb82d
2 files changed
lua/rest-nvim/curl/init.lua
@@ -50,7 +50,7 @@ end
50
local function create_error_handler(opts)
51
return function(err)
52
send_curl_stop_event(vim.tbl_extend("keep", { err = err }, opts))
53
- vim.notify(vim.inspect(err.message), vim.log.levels.ERROR)
+ error(err.message)
54
end
55
56
lua/rest-nvim/init.lua
@@ -163,7 +163,7 @@ rest.run_request = function(req, opts)
163
164
165
Opts = {
166
- request_id = vim.loop.now(), --random request id used to correlate RestStartRequest and RestStopRequest events
+ request_id = vim.loop.now(), -- request id used to correlate RestStartRequest and RestStopRequest events
167
method = result.method:lower(),
168
url = result.url,
169
-- plenary.curl can't set http protocol version
0 commit comments