Always display request params and options in request event (#1531)
This commit is contained in:
committed by
GitHub
parent
a9b62049cd
commit
a7658b2a66
@ -420,8 +420,6 @@ class Transport {
|
||||
// handles request timeout
|
||||
params.timeout = toMs(options.requestTimeout || this.requestTimeout)
|
||||
if (options.asStream === true) params.asStream = true
|
||||
meta.request.params = params
|
||||
meta.request.options = options
|
||||
|
||||
// handle compression
|
||||
if (params.body !== '' && params.body != null) {
|
||||
@ -452,6 +450,8 @@ class Transport {
|
||||
}
|
||||
}
|
||||
|
||||
meta.request.params = params
|
||||
meta.request.options = options
|
||||
// still need to check the product or waiting for the check to finish
|
||||
if (this[kProductCheck] === 0 || this[kProductCheck] === 1) {
|
||||
// let pass info requests
|
||||
|
||||
Reference in New Issue
Block a user