Skip to content

Commit

Permalink
Update errors.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed May 2, 2024
1 parent aec3fa4 commit 3c304f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class HttpErrorBase extends Error {
constructor (method, res, body, spec) {
super()
this.name = this.constructor.name
console.log(res.headers)
this.headers = typeof res.headers?.raw === 'function' ? res.headers.raw() : res.headers
this.statusCode = res.status
this.code = `E${res.status}`
Expand Down

0 comments on commit 3c304f8

Please sign in to comment.