How to hide the fetch error that appears in the console? catch doesn't help

fetch('fsfsd') .catch((err) => { // в данный момент ошибка уже выведена в консоли, почему-то }) 

  • one
    If you're talking about Access-Control-Allow-Origin , then no way. This is not a response from the server, but a browser handling. - Alexey Shimansky
  • You can not hide the error that the server returned. The maximum is simply to clear the console output, but this is a bad decision, and it is also not entirely clear why - Grundy
  • @Grundy, it's a pity, but how can you check the connection to the server so that no errors are output? - Yuri
  • one
    @Yuri, no way, if the server returned an error - the console will show it - Grundy

0