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
Remember your route handlers always need to send a response, especially when errors occur. Here if you don't find a matching cat you just log the error and then stop. This causes the server to eventually time out if the user visits a nonexistent cat page (like /cats/999).
The text was updated successfully, but these errors were encountered:
week7-jess/src/handler/catPic.js
Lines 3 to 10 in b9f47e9
Remember your route handlers always need to send a response, especially when errors occur. Here if you don't find a matching cat you just log the error and then stop. This causes the server to eventually time out if the user visits a nonexistent cat page (like
/cats/999
).The text was updated successfully, but these errors were encountered: