porteurbars icon indicating copy to clipboard operation
porteurbars copied to clipboard

Unclear error when local directory doesn't exist

Open jonas-schievink opened this issue 7 years ago • 1 comments

I just got this error when I made a typo in the directory:

$ porteurbars file:///home/jonas/dev/cargo-template ~/TEMPLATE-TEST
error: failed to clone repo /home/jonas/dev/cargo-template@master
caused by: unsupported URL protocol; class=Net (12)

"unsupported URL protocol" is a pretty odd way to say "directory doesn't exist" ;)

jonas-schievink avatar May 24 '18 13:05 jonas-schievink

good point. I'll see if I can find a way to catch that specific error and provide a clearer error message

softprops avatar May 24 '18 22:05 softprops