title: Prevent http errors from being logged in browser console
body: <p>I'm trying to figure out how to suppress http request and response errors in my app, for example when a bad request is made to my server, I don't want the error to be logged into the browser console. I've tried overriding the <code>$exceptionHandler</code>, but that logic works for all exceptions except HTTP errors, those are still logged to the browser. I've also created HTTP interceptors but the global <code>400 Bad Request</code> error appears before the logic that I've put in my <code>responseError</code>:</p>
  
  <pre><code>'responseError': function (rejection) {
   console.log(rejection);
   return $q.reject();
  }
  </code></pre>
  
  <p>That doesn't suppress the error either, any ideas?</p>
  
  <p>EDIT</p>
  
  <p>The error I'm getting is this:
  <code>POST http://localhost:38349/token 400 (Bad Request)</code>
  <img src="https://i.stack.imgur.com/rkt4U.png" alt="enter image description here"></p>