silence log for fail snapshot

merge-requests/118/head
Moe 2019-10-02 20:17:29 -07:00
parent 34e06c4bc6
commit 2ad0dbcc4d
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ module.exports = function(s,config,lang){
if(buffer){
callback(buffer,false)
}else{
console.log(err)
s.debugLog(err,ffmpegCmd)
fs.readFile(config.defaultMjpeg,function(err,buffer){
callback(buffer,false)
})