precises the exceptions to catch in server.py