Remove try catch

This commit is contained in:
Nick Mowen 2023-06-07 15:46:58 -06:00
parent 40a0a6fcf1
commit 3ab7b21490

View File

@ -7,7 +7,6 @@ import queue
import signal import signal
import subprocess as sp import subprocess as sp
import threading import threading
import traceback
from wsgiref.simple_server import make_server from wsgiref.simple_server import make_server
import cv2 import cv2
@ -523,7 +522,6 @@ def output_frames(config: FrigateConfig, video_output_queue):
for ws in websocket_server.manager for ws in websocket_server.manager
) )
): ):
try:
if birdseye_manager.update( if birdseye_manager.update(
camera, camera,
len([o for o in current_tracked_objects if not o["stationary"]]), len([o for o in current_tracked_objects if not o["stationary"]]),
@ -537,9 +535,6 @@ def output_frames(config: FrigateConfig, video_output_queue):
birdseye_buffer[:] = frame_bytes birdseye_buffer[:] = frame_bytes
converters["birdseye"].write(frame_bytes) converters["birdseye"].write(frame_bytes)
except Exception as e:
logger.error(f"Crash happened :: {e}")
logger.error(traceback.format_exc())
if camera in previous_frames: if camera in previous_frames:
frame_manager.delete(f"{camera}{previous_frames[camera]}") frame_manager.delete(f"{camera}{previous_frames[camera]}")