Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NPE for invalid PostgreSQL repo URI for clone #444

Merged
merged 1 commit into from
Jul 18, 2018
Merged

Conversation

emerkle826
Copy link
Contributor

This should give a better error message and address issue #439.

Example error message:

gg clone $REPO2 ./repo2
Cloning into './repo2'...
Failed to connect to remote: Could not connect to repository. Check that the URI is valid: postgresql://localhost:5432/repos/public/repo2?user=geogig&password=geogig

@emerkle826 emerkle826 requested a review from groldan June 28, 2018 19:48
@groldan groldan merged commit bfcca1f into master Jul 18, 2018
@groldan groldan deleted the pg-bad-uri branch July 22, 2019 23:11
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