this post was submitted on 04 Jul 2023
379 points (97.5% liked)

Programmer Humor

32078 readers
651 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Serinus@lemmy.ml 17 points 1 year ago (2 children)

I think it's both, actually. Lemmy is often giving html where json is expected, and Jerboa isn't handling the error well.

[โ€“] usernotfound@lemmy.ml 18 points 1 year ago

๐Ÿค” The server spits out html when it cannot reach the backend. So one could argue it's a configuration issue because the admin didn't provide enough capacity / didn't set up a proper generic json error for backend failures.

FWIW, Liftoff doesn't handle these super gracefully either.

At any rate I think it's kinda awesome that we get to witness these kinds of infancy problems.

[โ€“] nseguin@lemmy.ml 1 points 1 year ago (2 children)

Well, what should Jerboa do? Pretend it received content?

[โ€“] Atemu@lemmy.ml 18 points 1 year ago

Take it as an error, tell the user about it and then retry with exponential back-off.

[โ€“] entropicdrift@lemmy.sdf.org 16 points 1 year ago

It should display a human-readable error message instead of the raw one.