Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-15185

UI error messages shouldn't contain server-side errors

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: ui
    • Labels:
      None

      Description

      They don't typically mean anything to users and could potentially be a security issue.

      One proactive step could be to stop wrapping errors or including err.Error() in resolvers.

      On the other hand, when the user can give us the error string it's helpful in debugging. Maybe there's a middle ground where the error gets logged somewhere else and the user is given a reference ID?

        Attachments

          Activity

            People

            Assignee:
            backlog-server-evg Backlog - Evergreen Team
            Reporter:
            jonathan.brill Jonathan Brill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: