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
When the client requests a single product, or all products, the status code is 500 and the response is always the following.
ZeroDivisionError at /products
division by zero
Dev Notes:
Code to get the average_rating is commented out till someone can take a look at it.
The most recent feature added by the team was adding an average rating key to each product. You might want to start there and see if there are any try/catch blocks you can implement.
The text was updated successfully, but these errors were encountered:
CRITICAL ISSUE
When the client requests a single product, or all products, the status code is 500 and the response is always the following.
Dev Notes:
try/catch
blocks you can implement.The text was updated successfully, but these errors were encountered: