Skip to content

Add error handling on the calls to the server to debug issue #132 #137

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

Merged
merged 1 commit into from
Jun 21, 2025

Conversation

tmeire
Copy link
Contributor

@tmeire tmeire commented Jun 16, 2025

This PR adds HTTP response code checking on a couple of calls to the server.

@tmeire tmeire mentioned this pull request Jun 16, 2025
@adamdotdevin
Copy link
Collaborator

hey @tmeire sorry, just seeing this and i reworked init quite a bit! want to take a look at latest and see if your changes still apply?

@tmeire
Copy link
Contributor Author

tmeire commented Jun 17, 2025

@adamdottv merged the changes from dev and moved the http status code checks to the new locations 👍

@adamdotdevin
Copy link
Collaborator

really sorry, things moved again, mind to rebase? also, we have toast messages now if you'd like to notify the user that way

@tmeire tmeire force-pushed the fix/server-error-reporting branch from 2c4ef78 to 1294118 Compare June 21, 2025 07:38
@tmeire
Copy link
Contributor Author

tmeire commented Jun 21, 2025

@adamdotdevin rebased again

If it bails out on the providers cmd, it's still crashing because multiple parts in the rest of the code assume there's always a provider configured.
https://github.com/sst/opencode/pull/137/files#diff-beefbb340638978338691e76199450f7df3739be9105f0b8cdf1a38b6835d341R129

@adamdotdevin adamdotdevin merged commit 119d2d9 into sst:dev Jun 21, 2025
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