Skip to content

Commit

Permalink
Always handle random lines on frigate logs
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Apr 9, 2024
1 parent 5501837 commit fb560ca
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion web/src/pages/Logs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit fb560ca

Please sign in to comment.