How do I solve this warning in my console in my reactjs app?

42 Views Asked by At

My app works as expected but sometimes in my console i get this error that i don't know how to solve

enter image description here

1

There are 1 best solutions below

1
On

Use promise.catch clause or a try/catch block to handle server errors in your promise callbacks.