Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix:Manage Firefox and Safari Network error message (#44929)
Not all browsers implement the network error message in the same way: For example if I execute `fetch('//foo.bar/').catch(err => console.log(err.message))` in Chrome / Firefox / Safari browsers console, I get respectively: - `Failed to fetch` - `NetworkError when attempting to fetch resource.` - `Load failed` This PR fixes it. ## Bug - [x] Related issues linked using fixes [#45190](#45190) - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) Co-authored-by: JJ Kasper <jj@jjsweb.site>
- Loading branch information