diff options
Diffstat (limited to 'lib/videos.js')
-rw-r--r-- | lib/videos.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/videos.js b/lib/videos.js index 5d23070a7..0da7715c4 100644 --- a/lib/videos.js +++ b/lib/videos.js | |||
@@ -28,14 +28,14 @@ | |||
28 | function seedAllExisting (callback) { | 28 | function seedAllExisting (callback) { |
29 | Videos.listOwned(function (err, videos_list) { | 29 | Videos.listOwned(function (err, videos_list) { |
30 | if (err) { | 30 | if (err) { |
31 | logger.error('Cannot get list of the videos to seed.', { error: err }) | 31 | logger.error('Cannot get list of the videos to seed.') |
32 | return callback(err) | 32 | return callback(err) |
33 | } | 33 | } |
34 | 34 | ||
35 | async.each(videos_list, function (video, each_callback) { | 35 | async.each(videos_list, function (video, each_callback) { |
36 | seed(uploadDir + video.namePath, function (err) { | 36 | seed(uploadDir + video.namePath, function (err) { |
37 | if (err) { | 37 | if (err) { |
38 | logger.error('Cannot seed this video.', { error: err }) | 38 | logger.error('Cannot seed this video.') |
39 | return callback(err) | 39 | return callback(err) |
40 | } | 40 | } |
41 | 41 | ||