C
C
ckatala2019-09-17 17:57:05
React
ckatala, 2019-09-17 17:57:05

How to stop showing 400 error in browser console?

Hello!
How to handle the error so that when it occurs, the browser console does not show the error?
Tried like this but still visible in browser
POST localhost:3000 400 (Bad Request)

if (err.response.status === 400) {
  Alert.error('Ошибка 400')
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question