From 462e824aedc34cc61c6cff325754b2116f4a844d Mon Sep 17 00:00:00 2001 From: Luc Busquin <133058544+Cybis320@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:30:59 -0700 Subject: [PATCH] Add log entry to prevent ctrl-c failure --- RMS/StartCapture.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RMS/StartCapture.py b/RMS/StartCapture.py index 953ed76ca..eee6b6682 100644 --- a/RMS/StartCapture.py +++ b/RMS/StartCapture.py @@ -68,6 +68,8 @@ def breakHandler(signum, frame): # Set the flag to stop capturing video STOP_CAPTURE = True + # This log entry is an adhoc fix to prevents Ctrl+C failure until the root cause is identified + log.info("Ctrl+C pressed. Setting STOP_CAPTURE to True") # Save the original event for the Ctrl+C ORIGINAL_BREAK_HANDLE = signal.getsignal(signal.SIGINT)