openSUSE/paste-o-o

Better / more obvious 404 page

cboltz opened this issue · 2 comments

If a paste can't be found (for example if it's expired), paste.o.o redirects to https://paste.opensuse.org/pastes with a "Paste not found" note in the bottom-right of that page. This error note is easy to overlook (because it hides (literally) in a corner), and it's confusing why I get the list of pastes instead of the actual paste I requested.

IMHO it would be better to have a 404 page that clearly says "paste not found" in the main area instead of "hiding" this most important information in a corner. (Bonus point if the 404 page also mentions the most likely reasons like "expired" or "link broken", but that's just a little detail.)

If you've never seen the 404 behaviour - https://paste.opensuse.org/pastes/392dfd8fd202 expires in 20 minutes and will then turn into a reproducer for this ticket ;-)

cboltz commented

In the meantime, the 404 page turned into a 500 page that says

We're sorry, but something went wrong.

If you are the application owner check the logs for more information.

I slightly ;-) doubt that this is an improvement.