Permalink
Browse files

Add message when kernel catches KeyboardInterrupt.

  • Loading branch information...
1 parent 630bed7 commit 5cd1ae1591af07d8ac8c46da59dd594e97e1dd03 @takluyver committed May 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 IPython/zmq/ipkernel.py
View
@@ -172,7 +172,7 @@ def start(self):
self.do_one_iteration()
except KeyboardInterrupt:
# Ctrl-C shouldn't crash the kernel
- continue
+ io.raw_print("KeyboardInterrupt caught in kernel")
def record_ports(self, xrep_port, pub_port, req_port, hb_port):
"""Record the ports that this kernel is using.

0 comments on commit 5cd1ae1

Please sign in to comment.