fix: do not ignore curl error (#877)

This commit is contained in:
yetone 2024-11-20 01:33:28 +08:00 committed by GitHub
parent 56ebcad7a8
commit 2863473bbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -194,7 +194,7 @@ M._stream = function(opts, Provider)
active_job = nil
completed = true
cleanup()
opts.on_complete(nil)
opts.on_complete(err)
end,
callback = function(result)
active_job = nil