diff options
author | Jari Aalto <jari.aalto@cante.net> | 2010-03-14 17:15:33 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-14 13:02:47 -0700 |
commit | e5afb3a6f96e4d3a8733fbeee2c3cb44829e386b (patch) | |
tree | 302ec4bc5443c96653ca8ee1612c3fc905e72d5b /git-send-email.perl | |
parent | 809780b662355a9ded05b450a07bbe79d0d2e26e (diff) | |
download | git-e5afb3a6f96e4d3a8733fbeee2c3cb44829e386b.tar.gz |
git-send-email.perl: improve error message in send_message()
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-x | git-send-email.perl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl index e05455f74c..221506c3ed 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -957,7 +957,10 @@ X-Mailer: git-send-email $gitversion } if (!$smtp) { - die "Unable to initialize SMTP properly. Is there something wrong with your config?"; + die "Unable to initialize SMTP properly. Check config. ", + "VALUES: server=$smtp_server ", + "encryption=$smtp_encryption ", + defined $smtp_server_port ? "port=$smtp_server_port" : ""; } if (defined $smtp_authuser) { |