Open HerrLevin opened 1 month ago
Idea: try/catch around the follow acceptance and just remove the follow request if THIS exception occurs
I cannot find the cause of your problem. We have two endpoints APIv1 and legacy frontend. Both Endpoints catches the AlreadyFollowingException and don't return HTTP 500 then.
Describe the bug
In very rare cases it's possible to provoke an error 500 (AlreadyFollowingException) when accepting a follow request
Steps to reproduce
This cannot easily be reproduced without manipulating the database.
Table
follows
Table
follow_requests
Accept follow-reqeust
Browser console logs
No response
Browser
No response