Open joa-queen opened 9 years ago
404 is not catch here and it's not an error, you can check the res
object and see the http status code, and then you can do whatever you want with it.
But since I'm into fetchData I need to return the cb, don't I?
Sorry if I am too lost.
Hi, I got this fetchData method in my component:
How can I display a 404 message when the superagent returns a 404 from request?
Thanks.