Skip to content
#

snippet

Here are 332 public repositories matching this topic...

nikitavbv
nikitavbv commented Dec 12, 2017

Currently if you try to clone a repository from github and you don't have any ssh keys configured at github, you will fail to clone and get such message:

Fatal error: fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Even Permission denied (publickey). message is not shown.

@guyzmo offered to "suggest a

mre
mre commented Oct 1, 2020

The request handling of this VSCode plugin is not handling errors at the moment.
Here is the request code:
https://github.com/mre/vscode-snippet/blob/370d427158ad683590d8abc4cadd976d0c584041/src/snippet.ts#L99-L110

As you can see, we don't check for errors in line 106.
It would be great to catch errors there and show and error message to the user.
You can test this by going offline and sear

help wanted good first issue hacktoberfest

Improve this page

Add a description, image, and links to the snippet topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the snippet topic, visit your repo's landing page and select "manage topics."

Learn more