redlib icon indicating copy to clipboard operation
redlib copied to clipboard

🐛 Bug Report: unhandled error on moderation-pending comments

Open austinhuang0131 opened this issue 7 months ago • 0 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

  1. Find a link to a moderation-pending comment, usually visible on one's user page.
  2. 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

austinhuang0131 avatar May 13 '25 22:05 austinhuang0131