Better backend error detection #1056

Open
opened 2021-01-30 17:50:50 +00:00 by feld · 1 comment
Owner

image

This is because it's getting HTML from the webserver error page. We should be able detect if the BE returned a 4xx or 5xx and make a nicer error text instead of trying to parse json

![image](/attachments/bcf76a6b-b7ba-474d-bbe1-720c48c50bda) This is because it's getting HTML from the webserver error page. We should be able detect if the BE returned a 4xx or 5xx and make a nicer error text instead of trying to parse json
Owner

I have this in #2606

I have this in #2606
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe#1056
No description provided.