Incorrect method call for logging fixed

This commit is contained in:
amazing-username
2019-07-20 01:47:16 +00:00
parent a39c232c34
commit 3948e25fc3
+2 -2
View File
@@ -46,7 +46,7 @@ namespace Icarus.Controllers.V1
if (coverArt != null) if (coverArt != null)
{ {
_logger.Info("Found cover art record"); _logger.LogInformation("Found cover art record");
var coverArtBytes = System.IO.File.ReadAllBytes( var coverArtBytes = System.IO.File.ReadAllBytes(
coverArt.ImagePath); coverArt.ImagePath);
@@ -55,7 +55,7 @@ namespace Icarus.Controllers.V1
} }
else else
{ {
_logger.Info("Cover art not found"); _logger.LogInformation("Cover art not found");
return NotFound(); return NotFound();
} }
} }