Skip to content

Commit

Permalink
Update guides/code-quality/readme.md
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Wagner-Hall <[email protected]>
Signed-off-by: MitchLloyd <[email protected]>
  • Loading branch information
MitchLloyd and illicitonion authored Apr 11, 2024
1 parent 423fc53 commit 27144b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/code-quality/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Here is an example response:
{"success":true,"videos":[(...)]}
```

Once you do this on the backend you should also change your frontend, to make sure it handles errors that are received. For example if your frontend receives an error like above it might show a message like `"Could not connect to the database, please reload the page at a later time"`.
Once you do this on the backend you should also change your frontend, to make sure it handles errors that are received. For example if your frontend receives an error like above it might show a message like `"Could not connect to the database, please reload the page at a later time"`. Remember, real users don't look in the console, so you'll need to work how where you want to display this error to the users so they see it.

**Note:** Once you add this feature, make sure you keep handling errors properly during the week 2 and week 3 requirements as well.

Expand Down

0 comments on commit 27144b0

Please sign in to comment.