mirror of https://github.com/zulip/zulip.git
push-to-pull-request: Give a more detailed error on URL parse failure.
This simplifies debugging when this error fires, e.g. for finding an issue like the one we just used `git remote get-url` to fix.
This commit is contained in:
parent
e7a82e732e
commit
e3d843baf9
|
@ -54,7 +54,7 @@ if [ -z "$repo_fq" ]; then
|
|||
# We're pretty specific about what we expect the URL to look like;
|
||||
# there are probably more cases we could legitimately cover, which
|
||||
# we can add if/when they come up for someone.
|
||||
echo "error: couldn't parse remote URL as GitHub repo" >&2
|
||||
echo "error: couldn't parse remote URL as GitHub repo: $remote_url" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue