Skip to content

HTTP errors are now handled a bit more robustly.#24

Merged
jeff-cohere merged 1 commit intomainfrom
better-http-error-handling
Apr 2, 2026
Merged

HTTP errors are now handled a bit more robustly.#24
jeff-cohere merged 1 commit intomainfrom
better-http-error-handling

Conversation

@jeff-cohere
Copy link
Copy Markdown
Collaborator

We no longer assume that HTTP errors are encoded in JSON.

@jeff-cohere jeff-cohere requested a review from mattldawson April 1, 2026 21:18
@jeff-cohere jeff-cohere added the enhancement New feature or request label Apr 1, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

PR Preview Action v1.4.8
🚀 Deployed preview to https://kbase.github.io/dtspy/pr-preview/pr-24/
on branch gh-pages at 2026-04-01 21:19 UTC

@jeff-cohere
Copy link
Copy Markdown
Collaborator Author

That JSON parsing error I was encountering turned out to be a gateway timeout (504), which is what I got when I pointed my testing client at the DTS endpoint requesting files from NMDC. This can be addressed by adjusting the ingress settings in Spin (I hope!).

@jeff-cohere jeff-cohere merged commit e3eb343 into main Apr 2, 2026
10 of 12 checks passed
@jeff-cohere jeff-cohere deleted the better-http-error-handling branch April 2, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants