14 points

Value <html> of type java.lang.String cannot be converted to JSONObject

permalink
report
reply
46 points

I’ve seen this more times than my own family

permalink
report
reply
1 point

Dad, please come back. Mom is hoarding all the meth and Beth new boyfriend isn’t even a cartel boss. He’s a an accountant for god sake ! AN ACCOUNTANT !

permalink
report
parent
reply
2 points

I’ve seen this on both Jerboa and Connect. And even just now

permalink
report
reply
25 points

that’s Jerboa issue but probably because It received something from the server that it shouldn’t

permalink
report
reply
1 point
Deleted by creator
permalink
report
parent
reply
21 points

No, the server gave a 502 instead of a JSON and Jerboa doesn’t handle that gracefully.

permalink
report
parent
reply
-1 points

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).

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
11 points
*

Well, Lemmy shouldn’t 502 in the first place. That’s the root cause. The apps should handle that gracefully though, especially given how commonly Lemmy throws a 502.

permalink
report
parent
reply
4 points

Actually i was trying to say similar issue

permalink
report
parent
reply
36 points
*

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
permalink
report
reply
1 point

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.

permalink
report
parent
reply
29 points

We are not savages now we use

with suppress(Exception):
    > 100 lines nonsense
permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 4.4K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments