NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Only print line and key/value when a line number can be found (#15897)
Josh Hawkins283f1b19a73c
diff --git a/frigate/__main__.py b/frigate/__main__.pyindex 468fe9f986..d8cbae3ee1 100644--- a/frigate/__main__.py+++ b/frigate/__main__.py@@ -84,9 +84,10 @@ def main() -> None:except Exception as traverse_error:print(f"Could not determine exact line number: {traverse_error}")- print(f"Line # : {line_number}")- print(f"Key : {' -> '.join(map(str, error_path))}")- print(f"Value : {error.get('input','-')}")+ if current != full_config:+ print(f"Line # : {line_number}")+ print(f"Key : {' -> '.join(map(str, error_path))}")+ print(f"Value : {error.get('input','-')}")print(f"Message : {error.get('msg', error.get('type', 'Unknown'))}\n")print("*************************************************************")