silence log for fail snapshot
parent
34e06c4bc6
commit
2ad0dbcc4d
|
@ -127,7 +127,7 @@ module.exports = function(s,config,lang){
|
||||||
if(buffer){
|
if(buffer){
|
||||||
callback(buffer,false)
|
callback(buffer,false)
|
||||||
}else{
|
}else{
|
||||||
console.log(err)
|
s.debugLog(err,ffmpegCmd)
|
||||||
fs.readFile(config.defaultMjpeg,function(err,buffer){
|
fs.readFile(config.defaultMjpeg,function(err,buffer){
|
||||||
callback(buffer,false)
|
callback(buffer,false)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue