Skip to content

Commit

Permalink
Add extra log
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Dumas committed Aug 14, 2024
1 parent 88c70f7 commit 0e81b4b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ object FileCopier {
case CopyResult.AlreadyExists =>
IO.whenA(forceContentType) {
attributes.mediaType.traverse { mediaType =>
logger.info(s"Patching to content type $mediaType for file $patchedFileName")
s3StorageClient.updateContentType(targetBucket, targetKey, mediaType)
}.void
}
Expand Down

0 comments on commit 0e81b4b

Please sign in to comment.