mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 11:15:21 +03:00
Update audio.py
This commit is contained in:
parent
98576418a8
commit
1c68f61f1f
@ -306,9 +306,9 @@ class AudioEventMaintainer(threading.Thread):
|
||||
|
||||
audio = np.frombuffer(chunk, dtype=np.int16)
|
||||
self.detect_audio(audio)
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
self.logger.error(
|
||||
"Error reading audio data from ffmpeg process, restarting..."
|
||||
"Error reading audio data from ffmpeg process: {e}"
|
||||
)
|
||||
log_and_restart()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user