def handle_server_error(e): print(e) return {'error': True, 'code': 500, 'message': 'Internal Server Error :('}, 500