Always handle random lines on frigate logs (#10904)

This commit is contained in:
Nicolas Mowen
2024-04-09 07:53:21 -06:00
committed by GitHub
parent 9281093740
commit c08a198354

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(