• SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

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

    • GarytheSnail@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      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.

      • Johanno@feddit.de
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        11 months ago

        I hate this attitude. Yeah don’t give the user stacktraces on error but if you give it a meaningful headline and go in detail, experienced users will be able to deal with the problem if possible. If you go Microsoft-error of mystic ways you will have people Google “unexpected error e34566xce” and they will see that it has 10 possible reasons so you don’t know what even went wrong.

        • azertyfun@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          Anyone who says error codes shouldn’t bubble up to the user are incompetent. Either because an incompetent PM infantilizes their users, or more likely because incompetent teams don’t/won’t take an extra 10 minutes to do proper error handling (and they suffer from this as well since they’re the ones who spend hours deciphering the result of a try {} catch(_) { error("we did a fucky wucky uwu") }).

  • HiddenLayer5@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    11 months ago

    If all the corporations can just stop trying to be cute in their error messages, that would be great. This is literally worse than “ERROR: Unknown Error” because this goes out of its way to taunt you while still giving you no actionable information.

    • ILikeBoobies@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      I see nothing wrong with it

      How can the client know the back end issue

      And

      What’s the point of giving it to the end user

      Any fix would be the user contacting the company and the error code is there. Follow ups would be a traceroute

  • pomodoro_longbreak@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    11 months ago

    I can just imagine something in the middle being like

    `We couldn't log you in because ${getReason(e) || 'the network failed to do its network thing'}.`
    
  • stewie410@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    Had the displeasure of using the modern EA app the other week – completely refuses to launch my copy of Jedi: Fallen Order in the foreground after a single play-session (Steam -> EA just doesn’t work for some people).

  • PeriodicallyPedantic@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    11 months ago

    Tbf if the client fails to reach the server, there isn’t much more detail they can provide. At least it brings a little levity