Skip to content

Exception loggin middleware #2028

Exception loggin middleware

Exception loggin middleware #2028

Triggered via pull request February 14, 2025 09:08
Status Success
Total duration 9m 17s
Artifacts

sonarcloud.yaml

on: pull_request
analyse  /  sonar-analysis
9m 6s
analyse / sonar-analysis
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
analyse / sonar-analysis: src/ProjectOrigin.Vault/Startup.cs#L179
Make 'PrintNetworkOptions' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
analyse / sonar-analysis: src/ProjectOrigin.Vault/Middleware/ExceptionLoggerMiddleware.cs#L24
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
analyse / sonar-analysis: src/ProjectOrigin.Vault/Services/REST/v1/CertificatesController.cs#L174
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
analyse / sonar-analysis: src/ProjectOrigin.Vault/Services/REST/v1/CertificatesController.cs#L179
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
analyse / sonar-analysis: src/ProjectOrigin.Vault/Startup.cs#L179
Make 'PrintNetworkOptions' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
analyse / sonar-analysis: src/ProjectOrigin.Vault/Middleware/ExceptionLoggerMiddleware.cs#L24
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
analyse / sonar-analysis: src/ProjectOrigin.Vault/Services/REST/v1/CertificatesController.cs#L174
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)
analyse / sonar-analysis: src/ProjectOrigin.Vault/Services/REST/v1/CertificatesController.cs#L179
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)