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 Jun 17, 2024
1 parent 7855225 commit ea068eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/interceptor/response-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Handler extends DecoratorHandler {
try {
err = Object.assign(new Error(http.STATUS_CODES[this.#statusCode]), {
statusCode: this.#statusCode,
status: this.#status,
status: this.#statusCode,
reason: this.#body?.reason,
error: this.#body?.error,
headers: this.#headers,
Expand Down

0 comments on commit ea068eb

Please sign in to comment.