silence log for fail snapshot
parent
34e06c4bc6
commit
2ad0dbcc4d
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue