diff --git a/README.md b/README.md index 7b68bb304..9fdb5f6cc 100644 --- a/README.md +++ b/README.md @@ -234,8 +234,8 @@ const fetch = require('node-fetch'); class HTTPResponseError extends Error { constructor(response, ...args) { - this.response = response; super(`HTTP Error Response: ${response.status} ${response.statusText}`, ...args); + this.response = response; } }