logging in products controller #20
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.
|