Return with callback with an error
This commit is contained in:
parent
13c14a9028
commit
6e56eb63ac
|
@ -117,7 +117,7 @@ function removePods (req, res, next) {
|
|||
videos.removeRemoteVideos(videosList, function (err) {
|
||||
if (err) {
|
||||
logger.error('Cannot remove remote videos.', { error: err })
|
||||
callback(err)
|
||||
return callback(err)
|
||||
}
|
||||
|
||||
return callback(null)
|
||||
|
|
Loading…
Reference in New Issue