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

Java exception should be reported to Sentry using captureMessage too

XMLWordPrintable

    • 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
          example.png
          31 kB
        2. node stack captured.png
          node stack captured.png
          60 kB
        3. screenshot-1.png
          screenshot-1.png
          20 kB

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

              Created:
              Updated:
              Resolved: