Laixer / Swabbr-Backend

API backend for the Swabbr application.
2 stars 0 forks source link

Couldn't create follow request #249

Closed tabeckers closed 3 years ago

tabeckers commented 3 years ago

During checkup with @DonZandbergen

tabeckers commented 3 years ago

Seems to only happen to user DonZandbergen as requester (id = 34c62918-d5ce-45aa-b9c7-41d44c896cc9)

tabeckers commented 3 years ago

This happens when the profile is set to private and the user follow mode is set to decline_all. Because our backend currently isn't a no-op backend, an invalid follow request will return an error.

What happens is the following:

The conclusion is that this issue lies with our backend. The current error 500 response is caught by our application and no more crashes occur. This was due to the lack of an error handler in rxjava's subscribe() method. An error handler that does nothing has been added, this is fine for now.