diff --git a/cheroot/server.py b/cheroot/server.py index 7615b5ef83..ae6bc5fab3 100644 --- a/cheroot/server.py +++ b/cheroot/server.py @@ -1729,9 +1729,7 @@ def safe_start(self): """Run the server forever, and stop it cleanly on exit.""" try: self.start() - except (KeyboardInterrupt, IOError): - # The time.sleep call might raise - # "IOError: [Errno 4] Interrupted function call" on KBInt. + except KeyboardInterrupt: self.error_log('Keyboard Interrupt: shutting down') self.stop() raise