This repository has been archived on 2024-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
local-llm-server/llm_server/routes/server_error.py

4 lines
73 B
Python

def handle_server_error(e):
print(e)
return {'error': True}, 500