Update server.py

Added try/catch Statement to runServer()