mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
catch all psutil errors
This commit is contained in:
parent
db7ee6cfb3
commit
e147852878
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user