SCCapstone / PalmettoProgrammers

https://www.forces-unite.com
MIT License
4 stars 1 forks source link

Don't silently fail user actions #525

Closed jbytes1027 closed 6 months ago

jbytes1027 commented 6 months ago

This at least affects create/edit posts.

evan-scales commented 6 months ago

Besides #517, what else is silently failing? There is an open mr for #517

jbytes1027 commented 6 months ago

There should be a general message that something has failed for unhanded errors. Playing wackamole with every issue is never going to be perfect.

epadams commented 6 months ago

A lot of this should've been caught by #484

jbytes1027 commented 6 months ago

Here's 6 user actions that are still can silently fail:

src/components/pages/PostPage.jsx:29
src/components/pages/PostPage.jsx:38
src/components/pages/UserProfile.jsx:105
src/components/pages/UserProfile.jsx:114
src/components/PostForm.jsx:144
src/components/PostForm.jsx:149