You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using got to perform some endpoint calls between my APIs and would like to know how can I handle when an endpoint fails to fetch.
Currently, if I simulate a call with an invalid endpoint, got crashes my application:
![image](https://user-images.githubusercontent.com/15386984/229214928-0e28a23e-78c6-45f0-9b81-15c5d528134e.png)
I already tried to use some try-catchs, but them aren't triggered. Any idea what I'm missing here?
Beta Was this translation helpful? Give feedback.
All reactions