Skip to content

Return upstream errors to client#18

Closed
MarcCoquand wants to merge 1 commit intomainfrom
raise-error
Closed

Return upstream errors to client#18
MarcCoquand wants to merge 1 commit intomainfrom
raise-error

Conversation

@MarcCoquand
Copy link
Copy Markdown
Collaborator

If we don't get any results on the frontpage, we should assume that there is an error on the upstream, and instead return a 502 so it can be correctly handled in the client.

@MarcCoquand MarcCoquand requested a review from ronibhakta1 April 2, 2026 16:11
@ronibhakta1
Copy link
Copy Markdown
Collaborator

If we don't get any results on the frontpage, we should assume that there is an error on the upstream, and instead return a 502 so it can be correctly handled in the client.

Looks good to me

@MarcCoquand MarcCoquand closed this Apr 9, 2026
@MarcCoquand MarcCoquand deleted the raise-error branch April 9, 2026 15:10
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.

2 participants