Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error management in REST API draw endpoint #121

Merged
merged 6 commits into from
Feb 27, 2025
Merged

Conversation

rezib
Copy link
Contributor

@rezib rezib commented Feb 26, 2025

No description provided.

Instead of failing with None argument for cairo.Context(), raise
RacksDBDrawingError as soon as unsupported output image format is
detected.
Return HTTP/400 error when draw endpoint is requested with unsupported
image format.
Return HTTP/400 error when draw endpoint is called with unsupported
entity.
@rezib rezib added this to the v0.5.0 milestone Feb 26, 2025
@rezib rezib self-assigned this Feb 26, 2025
Update HTTP/400 error description on REST API draw endpoint to mention
new cases it can be returned.
Update HTTP/400 error description on draw endpoint.
@rezib rezib merged commit 38976b3 into main Feb 27, 2025
8 checks passed
@rezib rezib deleted the pr/fix-api-draw branch February 27, 2025 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant