Value <html> of type java.lang.String cannot be converted to JSONObject
I’ve seen this more times than my own family
I’ve seen this on both Jerboa and Connect. And even just now
that’s Jerboa issue but probably because It received something from the server that it shouldn’t
No, the server gave a 502 instead of a JSON and Jerboa doesn’t handle that gracefully.
Seems like the 4 apps I use all have the same issue though which makes me wonder if it’s something in Lemmy causing the issue (not the apps).
You know at least it printed an error. I hate when things silently swallow errors.
I’m looking at you, Python programmers:
try:
<100 lines of nonsense>
except:
pass
I am in the process of fixing a bug at work where pretty much every method has a try(Exception e){…}catch{LOGGER.error(…)}. The method calling my team’s method needs to know when an interrupted exception is thrown. So far I have fixed this in 10 different methods, and we keep finding more. It’s like playing whack-a-mole.
We are not savages now we use
with suppress(Exception):
> 100 lines nonsense