Always handle random lines on frigate logs

This commit is contained in:
Nicolas Mowen 2024-04-09 07:19:37 -06:00
parent 55018372d4
commit fb560ca976

View File

@ -105,7 +105,12 @@ function Logs() {
}; };
} }
return null; return {
dateStamp: line.substring(0, 19),
severity: "unknown",
section: "unknown",
content: line.substring(30).trim(),
};
} }
const sectionMatch = frigateSection.exec( const sectionMatch = frigateSection.exec(