From dc9ad18afa7bbcf9d19c7be29fc26662e56f1f3c Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Fri, 8 Nov 2019 15:57:19 -0800 Subject: [PATCH] add debug print statement on SIGINT --- messaging/messaging_pyx.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/messaging/messaging_pyx.pyx b/messaging/messaging_pyx.pyx index d87f888..78b928e 100644 --- a/messaging/messaging_pyx.pyx +++ b/messaging/messaging_pyx.pyx @@ -84,6 +84,7 @@ cdef class SubSocket: if msg == NULL: # If a blocking read returns no message check errno if SIGINT was caught in the C++ code if errno.errno == errno.EINTR: + print("SIGINT received, exiting") sys.exit(1) return None