I have an Ajax call, and the server sends me an HTTP 412 error when the user forgets to fill some field.
I can treat the error calling a function to show to the user the error, but I don't want the error to appear on the browser console. How to do this?