title: Axios. How to get error response even when api return 404 error, in try catch finally
body: <p>for e.g.</p>
  
  <pre><code>(async() =&gt; {
    let apiRes = null;
    try {
      apiRes = await axios.get('https://silex.edgeprop.my/api/v1/a');
    } catch (err) {
      console.error(err);
    } finally {
      console.log(apiRes);
    }
  })();
  </code></pre>
  
  <p>in <code>finally</code>, <code>apiRes</code> will return null. </p>
  
  <p>Even when the api get a 404 response, there is still useful information in the response that I would like to use.</p>
  
  <p>How can I use the error response in <code>finally</code> when axios throws error.</p>
  
  <p><a href="https://jsfiddle.net/jacobgoh101/fdvnsg6u/1/" rel="noreferrer">https://jsfiddle.net/jacobgoh101/fdvnsg6u/1/</a></p>