Skip to content

sa: improve errors from SetOrderError#8656

Merged
jsha merged 1 commit intomainfrom
better-failorder-error
Mar 6, 2026
Merged

sa: improve errors from SetOrderError#8656
jsha merged 1 commit intomainfrom
better-failorder-error

Conversation

@jsha
Copy link
Copy Markdown
Contributor

@jsha jsha commented Mar 4, 2026

We were returning ServerInternal errors and dropping the actual error message on the floor. Instead, return a plain error (which will get turned into a serverInternal error higher in the stack). This avoids losing error messages from the database layer.

We were returning ServerInternal errors and dropping the actual error message on
the floor. Instead, return a plain error (which will get turned into a
serverInternal error higher in the stack). This avoids losing error messages
from the database layer.
@jsha jsha marked this pull request as ready for review March 4, 2026 06:02
@jsha jsha requested a review from a team as a code owner March 4, 2026 06:02
@jsha jsha requested a review from aarongable March 4, 2026 06:02
@jsha jsha merged commit 89e2dfe into main Mar 6, 2026
28 checks passed
@jsha jsha deleted the better-failorder-error branch March 6, 2026 18:48
beautifulentropy pushed a commit that referenced this pull request Mar 10, 2026
We were returning ServerInternal errors and dropping the actual error
message on the floor. Instead, return a plain error (which will get
turned into a serverInternal error higher in the stack). This avoids
losing error messages from the database layer.
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.

3 participants