From 1c68f61f1f1ee263eb2d5752d98dcb9781eb6e78 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Thu, 3 Aug 2023 15:53:21 -0600 Subject: [PATCH] Update audio.py --- frigate/events/audio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/events/audio.py b/frigate/events/audio.py index 20a5f95f6..0e28434d3 100644 --- a/frigate/events/audio.py +++ b/frigate/events/audio.py @@ -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()