Posts by Lucca Radaeli • 1 point
1 post
-
0
votes2
answers708
viewsA: How can I catch error 401 when making a post using Reactjs Xios on a login screen?
It’s not falling in the catch because this function is not returning any errors. The function returns a status if it is different from sucess and this data is not considered error pro tryCatch. Puts…