Skip to content

Dead code in makeRequestStreamAsync()? #1400

Open
@alxndrsn

Description

@alxndrsn

parseResponseError() throws rather than returns it's result at

throw e
}

This means that at

const err = await xmlParsers.parseResponseError(response)
this.logHTTP(reqOptions, response, err)
throw err
, makeRequestStreamAsync() does not call this.logHTTP() at line 740.

I noticed this, as ?location requests do not seem to emit close events.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions