Skip to content

Any time anything in the routes crashes, it should return an HTTP error, not simply raise a python exception #105

@marcosfrenkel

Description

@marcosfrenkel

This is currently happening here. This should be replaced for something like raise HTTPException(status_code=503, detail="Numbers gave impossible values, source bad.")

This should be the case with anything in routes to let the caller know of the error

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions