Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-14581

Improve error logs when integration with GitLab fails with an unexpected error

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.8
    • Component/s: Branch & PR
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      To help users to understand and troubleshoot potential issues with the integration with Gitlab, we need to improve the error log when an unexpected error happened.

      The current behaviour is to return to the UI that something is wrong, but nothing is actually print in the server log to help the investigation. So it's nearly impossible to know what's wrong.

      Solution: when facing an unexpected issue (like IOException), logs the error stacktrace in SonarQube logs.

        Attachments

          Activity

            People

            Assignee:
            pierre.guillot Pierre Guillot
            Reporter:
            pierre.guillot Pierre Guillot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: