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
Currently, we have a try-catch block in the backend that catches any error from a get request and assumes that if an error is caught then the user doesn't exist. This is bad code because we want full accuracy of whether or not a user is in our system.
To Solve: refactor the code such that the response checks for the specific error in some way
The text was updated successfully, but these errors were encountered:
Currently, we have a try-catch block in the backend that catches any error from a get request and assumes that if an error is caught then the user doesn't exist. This is bad code because we want full accuracy of whether or not a user is in our system.
To Solve: refactor the code such that the response checks for the specific error in some way
The text was updated successfully, but these errors were encountered: