labthings / labthings/labthings-fastapi
Revisit and improve error handling/fallback server when the server fails to start.
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
I recently revisited serve_from_cli and realised it raises a bunch of unhandled exceptions, which is less than helpful.
It would be nice to improve error handling, both on the CLI and in the fallback server if it's used.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the serve_from_cli entry point and tracing how the fallback server is used when startup fails. Identify the unhandled exceptions in both paths and define completion as providing helpful CLI and fallback-server error handling without leaving startup failures unhandled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fastapi, python
- Domain
- backend, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100