This commit is contained in:
2026-03-18 18:48:01 +01:00
parent fcc1f563e5
commit e28532a1d9
4 changed files with 58 additions and 1 deletions
+2
View File
@@ -78,6 +78,7 @@ namespace Musify.Infrastructure.Storage
try
{
await trasnsferUtility.UploadAsync(filePath, bucketName, fileName, cancellationToken);
logger.LogInformation("Successfully transferred file {FileName} to S3 with bucket name {BucketName} and route {Route}", fileName, bucketName, route);
}
catch
{
@@ -102,6 +103,7 @@ namespace Musify.Infrastructure.Storage
try
{
var response = await amazonS3.PutObjectAsync(request, cancellationToken);
logger.LogInformation("Successfully uploaded file to S3 with bucket name {BucketName} and key name {KeyName}", bucketName, keyName);
}
catch
{