My chrome console reports an error each time I execute a fetch(urlObject, optionsObject)
with a 404 response. Since I expect to get some 401 and 404 response from the API I am calling I would like to remove this error. Is there any way?
Asked
Active
Viewed 22 times
0

Naigel
- 9,086
- 16
- 65
- 106
-
Could you provide more information on how you're using your fetch? – kemicofa ghost Feb 26 '19 at 14:32
-
2I think you're out of luck bro... You maybe can disable it on your machine, but you can't programatically disable it on your end-users' machines, that I know of... https://stackoverflow.com/questions/4500741/suppress-chrome-failed-to-load-resource-messages-in-console – TJBlackman Feb 26 '19 at 14:34
-
@TJBlackman this is the answer I hoped not to receive... Thanks for the reference :) – Naigel Feb 26 '19 at 14:37