Skip to content

NVR with realtime local object detection for IP cameras

Always handle random lines on frigate logs (#10904)

Nicolas Mowenc08a198354d2
diff --git a/web/src/pages/Logs.tsx b/web/src/pages/Logs.tsx
index a4fa64ba8a..f1219e5eb7 100644
--- a/web/src/pages/Logs.tsx
+++ b/web/src/pages/Logs.tsx
@@ -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(