Skip to content

Commit

Permalink
Update response-error.js
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Nagy <ronagy@icloud.com>
  • Loading branch information
mertcanaltin and ronag committed Jul 1, 2024
1 parent 0d6f450 commit 8980063
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/interceptor/response-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class Handler extends DecoratorHandler {
return this.#handler.onHeaders(statusCode, rawHeaders, resume, statusMessage, headers)
}

this.#errored = true
if (this.#contentType === 'application/json' || this.#contentType === 'text/plain') {
this.#decoder = new TextDecoder('utf-8')
}
Expand Down

0 comments on commit 8980063

Please sign in to comment.