From 6b362cb54cc752d4d09e51b28e4e8cc1a00371b7 2014-10-28 23:49:46 From: Jonathan Frederic Date: 2014-10-28 23:49:46 Subject: [PATCH] Don't eat comm close error silently. --- diff --git a/IPython/kernel/comm/manager.py b/IPython/kernel/comm/manager.py index ca5acee..8bfb2e2 100644 --- a/IPython/kernel/comm/manager.py +++ b/IPython/kernel/comm/manager.py @@ -121,7 +121,8 @@ class CommManager(LoggingConfigurable): try: comm.close() except: - pass # Eat errors, nomnomnom + self.log.error("""Could not close comm during `comm_open` failure + clean-up. The comm may not have been opened yet.""", exc_info=True) def comm_msg(self, stream, ident, msg): """Handler for comm_msg messages"""