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

Java exception should be reported to Sentry using captureMessage too


    • Evergreen - Milestone 2

      Java exceptions are reported in an unclear way in Sentry UI

      For messages, it's more directly readable:

      captureException actually always captures the same stack trace and points us in the UI to our Sentry.sendOutput central code, which is not what we want:

      Expected behavior

      Exception message should be used as the title. Probably we simply need to process Java exceptions the same way we do for other logs and just use captureMessage.

        1. example.png
          31 kB
          Baptiste Mathus
        2. node stack captured.png
          60 kB
          Baptiste Mathus
        3. screenshot-1.png
          20 kB
          Baptiste Mathus

            Unassigned Unassigned
            batmat Baptiste Mathus
            0 Vote for this issue
            1 Start watching this issue