Skip to content

Change error message thrown with redirect mode set to error#653

Merged
Richienb merged 1 commit intonode-fetch:masterfrom
ramitmittal:patch-1
Oct 10, 2019
Merged

Change error message thrown with redirect mode set to error#653
Richienb merged 1 commit intonode-fetch:masterfrom
ramitmittal:patch-1

Conversation

@ramitmittal
Copy link
Copy Markdown

The original error message does not provide enough information about what went wrong. It simply states a configuration setting.

The original error message does not provide enough information about what went wrong. It simply states a configuration setting.
@codecov-io
Copy link
Copy Markdown

codecov-io commented Jun 18, 2019

Codecov Report

Merging #653 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #653   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           7      7           
  Lines         587    569   -18     
  Branches      183    181    -2     
=====================================
- Hits          587    569   -18
Impacted Files Coverage Δ
src/index.js 100% <100%> (ø) ⬆️
src/headers.js 100% <0%> (ø) ⬆️
src/body.js 100% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 95286f5...1ff5ff1. Read the comment docs.

Copy link
Copy Markdown
Collaborator

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, I like it 👍

@bitinn
Copy link
Copy Markdown
Collaborator

bitinn commented Jun 22, 2019

I will try to merge this on next 2.x release, thx

@Richienb
Copy link
Copy Markdown
Member

Due to input from @gr2m and @bitinn, It's time to merge this.

@Richienb Richienb merged commit 1e99050 into node-fetch:master Oct 10, 2019
@ramitmittal ramitmittal deleted the patch-1 branch October 11, 2019 04:32
isaacs added a commit to npm/minipass-fetch that referenced this pull request Oct 18, 2019
The original error message does not provide enough information about
what went wrong. It simply states a configuration setting.

Via: node-fetch/node-fetch#653
This was referenced Mar 6, 2021
This was referenced Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants