Renames and changes

This commit is contained in:
2026-03-28 15:32:36 +01:00
parent 3132b139f7
commit 7709fe737f
28 changed files with 236 additions and 241 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ namespace Musify.Infrastructure.Pictures
{
try
{
logger.LogDebug("Resizing picture to {Width}x{Height}", width, height);
logger.LogDebug("Resizing picture to={Width}x{Height}", width, height);
if (pictureStream.CanSeek && pictureStream.Position > 0)
pictureStream.Position = 0;
@@ -31,12 +31,12 @@ namespace Musify.Infrastructure.Pictures
memoryStream.Position = 0;
logger.LogDebug("Picture resized successfully. OutputLength: {Length}", memoryStream.Length);
logger.LogDebug("Picture resized successfully. OutputLength={Length}", memoryStream.Length);
return Result<Stream>.Success(memoryStream);
}
catch (Exception exception)
{
logger.LogError(exception, "An error occurred while resizing the picture to {Width}x{Height}.", width, height);
logger.LogError(exception, "An error occurred while resizing the picture to={Width}x{Height}.", width, height);
return Result.Error("An error occurred while resizing the picture.");
}
}