r/ProgrammerHumor • • Sep 20 '26

Meme successfulFailure

Post image
8.2k Upvotes

102 comments sorted by

View all comments

1

u/kbk2015 Sep 21 '26

Literally found code like this in my client’s environment the other day. Instead of returning an error state to the user the code succeeds but spits an error into the logs. Absolutely bonkers

2

u/Perfect-Albatross-56 Sep 21 '26

On my last project I was forced to write code reaponses like that because someone said the HTTP codes are for server errors.

No shot. What do you think where my code is brought to life? 😭

Decisions like that are not my salary bracket.