Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42921

Error "toast" popup for unhandled errors on the client to do with fetching (500 error class) with opt out

      It may make sense to capture fetch errors that are otherwise "dropped on the floor" and show it as a toast error message (with ability to find more details). 

       

      This should only be done if we know all places that errors are dropped are actual bugs. If there are cases where dropped errors on fetch (eg 404) are normal cases (ie no test results when opening test tab) then that should be fixed as part of the scope of this. 

       

      In scope: 

      • Allow consumers of fetch to opt out of errors for cases like 40x (so they aren't logged, or displayed)
      • Allow showing of error to the user 

       

      cc jamesdumay do you still think this is a good idea? 

       

          [JENKINS-42921] Error "toast" popup for unhandled errors on the client to do with fetching (500 error class) with opt out

          James Dumay added a comment -

          I think this is a very good idea and should be one of the first we pick up considering the state of error handling. Will be good to identify annoying toasts!

          James Dumay added a comment - I think this is a very good idea and should be one of the first we pick up considering the state of error handling. Will be good to identify annoying toasts!

            Unassigned Unassigned
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: