From e1478528789265ab778dd0d1c241964635fbd9e7 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Mon, 7 Dec 2020 07:16:48 -0600 Subject: [PATCH] catch all psutil errors --- frigate/events.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frigate/events.py b/frigate/events.py index e9a8683c3..8b8053474 100644 --- a/frigate/events.py +++ b/frigate/events.py @@ -36,9 +36,10 @@ class EventProcessor(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: