Server: fix logs when adding a remote video
authorChocobozzz <florian.bigard@gmail.com>
Tue, 22 Nov 2016 21:41:50 +0000 (22:41 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Tue, 22 Nov 2016 21:41:50 +0000 (22:41 +0100)
server/controllers/api/remote.js

index 3e2aa6375f85df19c10e9d0bc358886e83897633..2d0db51c02e47435a10f8bdbacf718c10bfd26b8 100644 (file)
@@ -53,7 +53,7 @@ function remoteVideos (req, res, next) {
 }
 
 function addRemoteVideo (videoToCreateData, callback) {
-  logger.debug('Adding remote video %s.', videoToCreateData.magnetUri)
+  logger.debug('Adding remote video "%s".', videoToCreateData.name)
 
   const video = new Video(videoToCreateData)
   Video.generateThumbnailFromBase64(video, videoToCreateData.thumbnailBase64, function (err) {