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

Report build errors to the client #678

Merged
merged 5 commits into from
Nov 3, 2023
Merged

Conversation

alcarney
Copy link
Member

@alcarney alcarney commented Nov 3, 2023

  • The sphinx-agent now reports the actual error message generated by Sphinx
  • The sphinx manager now catches and reports the error to the client

Closes #662

The server now catches and reports any errors encountered during
sphinx application creation/builds to the client using
`window/showMessage`. It is not my favourite solution since this could
get very obnoxious if it takes a while to resolve the error, but I'm
not sure what mechanism would work for all clients just yet.
This prevents us from effectively caching the error state and allowing
the server to retry a failed application creation.
@alcarney alcarney merged commit 6df6577 into swyddfa:develop Nov 3, 2023
11 checks passed
@alcarney alcarney deleted the build-errors branch November 3, 2023 19:59
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.

Better sphinx build error handling
1 participant