title: Can Sentry catch network error (XHR or fetch) in browser?
body: <p>I am currently integrating Sentry into an Angular web application.
  I am successfully reporting console.log / warn / error and exceptions in Sentry as &quot;issue&quot;.</p>
  <p>However, when a request to my server fails (HTTP 4XX or 5XX), Sentry totally ignores this error and does not send it.</p>
  <p>I have tried all possible values for <code>tracingOrigins</code>.</p>
  <pre class="lang-js prettyprint-override"><code>Sentry.init({
      dsn: '******',
      integrations: [
          new CaptureConsole(),
          new Integrations.BrowserTracing({
              tracingOrigins: ['localhost', 'http://localhost:4646/api']
          })
      ],
      tracesSampleRate: 1.0,
      debug: true
  });
  </code></pre>
  <p>What can I do ?</p>