Server: fix logs when adding a remote video

pull/24/head
Chocobozzz 2016-11-22 22:41:50 +01:00
parent 8f21730250
commit a078c1556f
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ function remoteVideos (req, res, next) {
} }
function addRemoteVideo (videoToCreateData, callback) { 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) const video = new Video(videoToCreateData)
Video.generateThumbnailFromBase64(video, videoToCreateData.thumbnailBase64, function (err) { Video.generateThumbnailFromBase64(video, videoToCreateData.thumbnailBase64, function (err) {