Skip to content

[SourceKit] Fail requests when an error occurs #25089

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 6 commits into from
May 29, 2019

Conversation

DavidGoldman
Copy link
Contributor

Roll forward of #24124 (reverted in #24993) with fix.

Original description:

Previously, requests would fail silently by returning an empty struct
in the response.

With this change, responses will properly report fail with the internal
error.

This allows IDEs to:

  • Properly identify errors when they occur
  • Choose to display the error to the user or perhaps handle it

Previously, requests would fail silently by returning an empty struct
in the response.

With this change, responses will properly report fail with the internal
error.
@DavidGoldman
Copy link
Contributor Author

/cc @akyrtzi @jckarter

@jckarter
Copy link
Contributor

@swift-ci Please test

@benlangmuir
Copy link
Contributor

@swift-ci please test

@benlangmuir
Copy link
Contributor

@swift-ci please asan test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 8d58ba8

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 8d58ba8

@benlangmuir
Copy link
Contributor

@swift-ci please asan test

@benlangmuir benlangmuir merged commit b8722fd into swiftlang:master May 29, 2019
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.

5 participants