redlib
redlib copied to clipboard
🐛 Bug Report: unhandled error on moderation-pending comments
Describe the bug
Accessing direct link to deleted or moderation-pending comments throws 502 on a reverse proxy level on most instances, suggesting that Redlib is not handling those errors, despite the fact that some of these comments may appear on profile pages.
Interestingly enough on reddit.com they show up as [deleted] but on Redlib they show the actual comment text and on which post the comment is on. I think it's probably moderation-pending comments...
Steps to reproduce the bug
- Find a link to a moderation-pending comment, usually visible on one's user page.
- Click the link
What's the expected behavior?
Give descriptive error instead of having reverse proxy throw 502s
Additional context / screenshot
It's hard to give you a direct example
- [x] I checked that the instance that this was reported on is running the latest git commit, or I can reproduce it locally on the latest git commit