summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--remote-curl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote-curl.c b/remote-curl.c
index 5d9f9618b4..6c6714b00a 100644
--- a/remote-curl.c
+++ b/remote-curl.c
@@ -213,10 +213,10 @@ static struct discovery* discover_refs(const char *service, int for_push)
die("repository '%s' not found", url);
case HTTP_NOAUTH:
show_http_message(&type, &buffer);
- die("Authentication failed");
+ die("Authentication failed for '%s'", url);
default:
show_http_message(&type, &buffer);
- http_error(refs_url, http_ret);
+ http_error(url, http_ret);
die("HTTP request failed");
}