Skip to content

Catch LiveShare API errors#679

Merged
ElianHugh merged 1 commit intoREditorSupport:masterfrom
ElianHugh:share-changes
Jun 20, 2021
Merged

Catch LiveShare API errors#679
ElianHugh merged 1 commit intoREditorSupport:masterfrom
ElianHugh:share-changes

Conversation

@ElianHugh
Copy link
Copy Markdown
Collaborator

Primary change:

Minor changes:

  • Remove some superflous/dead code from previous iterations of the LiveShare PR
  • Change the guest dataview file to have the same path as the host

Tested on Arch Linux

Primary change:
- Adds try/catch to the accessing of the vsls API, so as to hopefully avoid situations such as #671

Minor changes:
- Remove some superflous code from previous iterations of the LiveShare PR
- Change the guest dataview file to have the same path as the host

Tested on Arch Linux
@ElianHugh ElianHugh linked an issue Jun 20, 2021 that may be closed by this pull request
@renkun-ken
Copy link
Copy Markdown
Member

I test on macOS with a corrupted live share installation (some extension files are removed deliberately) and vscode-R is activated successfully. When live share API is ok, the features work well too.

Copy link
Copy Markdown
Member

@renkun-ken renkun-ken left a comment

Choose a reason for hiding this comment

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

LGTM

@ElianHugh
Copy link
Copy Markdown
Collaborator Author

Thank you for checking!

@ElianHugh ElianHugh merged commit 19ed8e9 into REditorSupport:master Jun 20, 2021
@ElianHugh ElianHugh deleted the share-changes branch June 20, 2021 14:54
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.

plots generated by httpgd do not appear automatically

2 participants