catch when activeMonitor details fails to propagate before merge

fix-timelapse-frames-bugs
Moe 2022-07-18 22:56:23 -07:00
parent c86c0660bc
commit 0dbe456e5e
1 changed files with 5 additions and 1 deletions

View File

@ -130,7 +130,11 @@ module.exports = (s,config,lang) => {
}else{
const details = s.parseJSON(configPartial.details)
Object.keys(details).forEach((key) => {
activeMonitor.details[key] = details[key]
try{
activeMonitor.details[key] = details[key]
}catch(err){
console.log(err)
}
})
}
})