Skip to content

Add more info to client not ready error#764

Merged
dbaeumer merged 1 commit intomicrosoft:mainfrom
yanmofeixi:lqy/test
May 11, 2021
Merged

Add more info to client not ready error#764
dbaeumer merged 1 commit intomicrosoft:mainfrom
yanmofeixi:lqy/test

Conversation

@yanmofeixi
Copy link
Copy Markdown
Contributor

I'm having trouble debugging my 'Language client is not ready yet'. Adding the method to help debug which request has caused this error.

@dbaeumer dbaeumer merged commit a5681d1 into microsoft:main May 11, 2021
@dbaeumer
Copy link
Copy Markdown
Member

Thanks.

A small tip: you should only send requests after client.onReady() got fullfilled.

@yanmofeixi
Copy link
Copy Markdown
Contributor Author

Thanks.

A small tip: you should only send requests after client.onReady() got fullfilled.

Yes. I have that in my language client, but I'm still seeing that. So I'm not sure which request type I have missed :) Thanks for quick approval!

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