• Omgpwnies@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    4
    ·
    edit-2
    1 year ago

    Your average Microsoft error “error 37253” is worthless to me

    This is a security thing. A descriptive error message is useful for troubleshooting, but an error message that is useful enough can also give away information about architecture (especially if the application uses remote resources). Instead, provide an error code and have the user contact support to look up what the error means, and support can walk the user through troubleshooting without revealing architecture info.

    Another reason can be i18n/l10n: Instead of keeping translations for thousands of error messages, you just need to translate “An Error Has Occurred: {errnum}”

    • BatmanAoD@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Those benefits both make sense, but are those really the original motivation for Microsoft designing the Blue Screen of Death this way? They sound more like retroactive justifications, especially since BSODs were around well before security and internationalization were common concerns.

      • phoenixz@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Linux has something similar, kernel panics. However, with Linux you get useful information dumped on your screen.

        Nothing gets logged on Linux either, just like windows and that makes sense. The kernel itself messed up and can’t trust its own memory anymore. Writing to disk may cause you to fuck up your disk, so you simply stop everything.

        Still though, Linux dumps useful info whereas windows just gives you this dumb useless code.

    • phoenixz@lemmy.ca
      link
      fedilink
      arrow-up
      3
      arrow-down
      3
      ·
      1 year ago

      Not when it’s my own computer. My computer needs to give me useful messages.If it’s a website then the site MUST log correctly in the log files…

      If it’s a translation issue then just use English, everyone that can understand logs can (or at least should) understand that