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

Java exception should be reported to Sentry using captureMessage too

    XMLWordPrintable

    Details

    • Sprint:
      Evergreen - Milestone 2
    • Similar Issues:

      Description

      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.

        Attachments

        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

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated: