From 840f046572f32a653e1967ebf4fe7cb74cc5399b Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Thu, 24 Dec 2020 14:23:59 -0600 Subject: [PATCH] handle process exit exceptions --- frigate/record.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/record.py b/frigate/record.py index 334f9408f..a027eb815 100644 --- a/frigate/record.py +++ b/frigate/record.py @@ -45,9 +45,9 @@ class RecordingMaintainer(threading.Thread): files_in_use = [] for process in psutil.process_iter(): - if process.name() != 'ffmpeg': - continue try: + if process.name() != 'ffmpeg': + continue flist = process.open_files() if flist: for nt in flist: