628
you are viewing a single comment's thread
view the rest of the comments
[-] savvywolf@pawb.social 66 points 11 months ago

Willing to bet that the backend that they are using doesn't actually give any useful error messages.

[-] GarytheSnail@programming.dev 15 points 11 months ago

Would they surface that to the user anyway? That's something to log, not to tell the client that xyz service failed because of error 123.

[-] PixxlMan@lemmy.world 12 points 11 months ago* (last edited 11 months ago)

No, please tell the user. They've got their big boy pants on and can handle seeing one or two weird squiggles in the worst case, and might be able to actually diagnose and fix the issue themselves (without having to go through support) in the best case.

[-] max@feddit.nl 12 points 11 months ago

If it’s a backend/service issue, tell the user, but the bare minimum. You shouldn’t disclose too much info about your system to the end user (think of stack traces, error codes unique to some dependency you’re using) as it may give an attacker some valuable information.

load more comments (6 replies)
load more comments (7 replies)
this post was submitted on 09 Dec 2023
628 points (99.1% liked)

Programmer Humor

32469 readers
443 users here now

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

Rules:

founded 5 years ago
MODERATORS