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 40634fa commit b8c8d23Copy full SHA for b8c8d23
lua/plenary/curl.lua
@@ -245,13 +245,15 @@ request = function(specs)
245
args = args,
246
on_exit = function(j, code)
247
if code ~= 0 then
248
- error(string.format(
249
- "%s %s - curl error exit_code=%s stderr=%s",
250
- opts.method,
251
- opts.url,
252
- code,
253
- vim.inspect(j:stderr_result())
254
- ))
+ error(
+ string.format(
+ "%s %s - curl error exit_code=%s stderr=%s",
+ opts.method,
+ opts.url,
+ code,
+ vim.inspect(j:stderr_result())
255
+ )
256
257
end
258
local output = parse.response(j:result(), opts.dump[2], code)
259
if opts.callback then
0 commit comments