mirror of
https://github.com/git/git
synced 2024-10-01 06:05:20 +00: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:
parent
809780b662
commit
e5afb3a6f9
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue