Skip to content
Snippets Groups Projects
Commit 84489fb4 authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

Backend can now be killed using keyboard interrupt without error

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