@ -88,7 +88,7 @@ class Parking(Resource):
parks = None
try:
parks = getParkings()
except mysql.connector.errors.DatabaseError as e:
except (mysql.connector.errors.DatabaseError, mysql.connector.errors.InterfaceError) as e:
mydb.reconnect(attempts=1, delay=0)
return parks, 200