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

use RestPlainResponse to improve builder API error reporting #5819

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Conversation

tersec
Copy link
Contributor

@tersec tersec commented Jan 23, 2024

recreate #5777

Currently, when relays return unexpected responses, Presto just returns that it failed somehow to parse the JSON, which often isn't a JSON at all but some plain text error message which gets swallowed, along with a potentially helpful Content-Type and HTTP status.

@tersec tersec changed the title use RestPlainResponse to improve builder API rerror reporting use RestPlainResponse to improve builder API error reporting Jan 23, 2024
Copy link

Unit Test Results

         9 files  ±0    1 101 suites  ±0   27m 49s ⏱️ +21s
  4 226 tests ±0    3 879 ✔️ ±0  347 💤 ±0  0 ±0 
16 873 runs  ±0  16 475 ✔️ ±0  398 💤 ±0  0 ±0 

Results for commit 6c56537. ± Comparison against base commit d3e10cc.

@tersec
Copy link
Contributor Author

tersec commented Jan 24, 2024

Release just went out, so this now has testing time.

@tersec tersec merged commit 128834a into unstable Jan 24, 2024
11 checks passed
@tersec tersec deleted the TD2 branch January 24, 2024 23:27
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.

None yet

1 participant