Skip to content
This repository was archived by the owner on Mar 22, 2024. It is now read-only.

languageClientWrapper: Reject start with unreachable web socket or web worker url #34

Merged
merged 2 commits into from
Aug 18, 2023

Conversation

kaisalmen
Copy link
Collaborator

This fixes #33.

For both web socket and web worker in case of onError the Promise is rejected with an object of type LanguageClientError
Tests have been enhanced. All rejections now use LanguageClientError, too.

@kaisalmen kaisalmen requested a review from montymxb August 18, 2023 09:03
Copy link
Member

@montymxb montymxb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved :octocat: ! Yeah this looks really good, now we can finally catch those pesky cases of a misconfigured worker url.

@kaisalmen kaisalmen merged commit 8a57b9a into main Aug 18, 2023
@kaisalmen kaisalmen deleted the issue-33 branch August 18, 2023 11:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrapper: Passing an Unreachable Worker Url causes Unresponsiveness
2 participants