• dajoho
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 day ago

    Backend Dev here. 500 is an HTTP sever response, so requires a working connection to happen. If the app isn’t connected to the network, in almost all cases, you would experience a different error, such as connection timed out, but not a 500.

    • markstos@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      18 hours ago

      You are right.

      I was thinking of a case where there was a network connection problem and instead of precisely reporting that, the frontend told the user it was a 500 instead.