diff --git a/core/modules/media/src/Plugin/media/Source/OEmbed.php b/core/modules/media/src/Plugin/media/Source/OEmbed.php
index c1a870731e72934382a6e3f5ad593fd70c4229a3..87e53f3da2bf591f446a2cf5691bf72c86522516 100644
--- a/core/modules/media/src/Plugin/media/Source/OEmbed.php
+++ b/core/modules/media/src/Plugin/media/Source/OEmbed.php
@@ -447,7 +447,9 @@ protected function getLocalThumbnailUri(Resource $resource) {
       }
     }
     catch (TransferException $e) {
-      $this->logger->warning($e->getMessage());
+      $this->logger->warning('Failed to download remote thumbnail file due to "%error".', [
+        '%error' => $e->getMessage(),
+      ]);
     }
     catch (FileException $e) {
       $this->logger->warning('Could not download remote thumbnail from {url}.', [