title: Axios "get" still goes to "then" after error occurs
body: <p>When I call <code>getItem</code> function with a wrong parameter, it still goes through the <code>then</code> part. However the response is just  <code>Error: Request failed with status code 404</code>.</p>
  
  <p>How can I avoid getting into the <code>then</code> part when an error occurs?</p>
  
  <pre><code>getItem = async objectId =&gt; {
    const client = await this._getAxiosClient();
    const headers = await this._generateHeaders();
  
    return client
      .get('/some/url', {
        headers,
      })
      .then(response =&gt; {
        ...
      }).catch(error =&gt; {
        console.log(error)
      });
  }
  </code></pre>