Commit 84489fb4 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Backend can now be killed using keyboard interrupt without error

parent 14ef23ec
...@@ -175,8 +175,11 @@ def start_server(app, port): ...@@ -175,8 +175,11 @@ def start_server(app, port):
enable_pretty_logging() enable_pretty_logging()
app.listen(port) try:
IOLoop.instance().start() app.listen(port)
IOLoop.instance().start()
except KeyboardInterrupt:
pass
if __name__ == '__main__': if __name__ == '__main__':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment