How to make "quiet" `fetch` request?
See original GitHub issueExpected Behavior
When I wrap a fetch
request in a quiet
, I expect it not to log anything to the console. Eg:
const response = await quiet(fetch(url));
Actual Behavior
The script logs the following to the console:
$ fetch {url}
Is this behaviour deliberate, or is it a bug? Is there any way to make a “quiet” fetch request otherwise?
Issue Analytics
- State:
- Created a year ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Run git fetch with `--quiet` by default · Issue #489 - GitHub
Currently this prints one line per 1 or 2 % progress, for each of remote: Counting objects , remote: Compressing objects , Receiving...
Read more >git-fetch Documentation - Git
Pass --quiet to git-fetch-pack and silence any other internally used git commands. Progress is not reported to the standard error stream. Be verbose....
Read more >Using the Fetch API - MDN Web Docs
The Fetch API provides a JavaScript interface for accessing and manipulating parts of the protocol, such as requests and responses.
Read more >Illegally mutated the NSFetchedResultsController's fetch request ...
Try disabling caching. When you create the NSFetchedResultsController , pass nil as the cache name.
Read more >Fetch API and FormData in HTML world | by Arun Rajeevan
Fetch API : Provides a JavaScript interface for accessing and manipulating parts of the HTTP pipeline, such as requests and responses.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can disable it with:
Or import from node-fetch.