1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-05 18:46:10 +02:00

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>
This commit is contained in:
Jari Aalto 2010-03-14 17:15:33 +02:00 committed by Junio C Hamano
parent 809780b662
commit e5afb3a6f9

View File

@ -957,7 +957,10 @@ sub send_message
}
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) {