Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add error handling and logging interceptors #1449

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

MartinWitt
Copy link
Owner

No description provided.

Added new error handling and logging interceptors to improve error management and traceability. Also introduced some changes to RemoteProject and AnalyzerResultsPersistenceTest classes. The new interceptors, ErrorHandlerInterceptor and LoggingInterceptor, will handle all errors and log the method invocation respectively. RemoteProject's 'addCommitHash' method now checks for existing commits before adding new ones. Also adjusted import statements in AnalyzerResultsPersistenceTest for improved readability.
Copy link

gitstream-cm bot commented Jan 12, 2024

This PR is 97.14285714285714% new code.

Copy link
Contributor

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. Inspect and use qodana.sarif.json (see the Qodana SARIF format for details)

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2023.3.0
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

@MartinWitt MartinWitt merged commit c240ea3 into master Jan 12, 2024
10 checks passed
@MartinWitt MartinWitt deleted the feat/interceptor branch January 12, 2024 14:20
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant