Skip to content

logging in products controller #20

logging in products controller

logging in products controller #20

Triggered via pull request May 27, 2024 00:27
Status Success
Total duration 25s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
build: Catalog/Catalog.Core/Logging/CustomLogger.cs#L32
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'.
build: Catalog/Catalog.API/Controllers/ProductController.cs#L92
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: Catalog/Catalog.Core/Logging/CustomLogger.cs#L32
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'.
build: Catalog/Catalog.API/Controllers/ProductController.cs#L92
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.