Browse Source

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>
maint
Jari Aalto 15 years ago committed by Junio C Hamano
parent
commit
e5afb3a6f9
  1. 5
      git-send-email.perl

5
git-send-email.perl

@ -957,7 +957,10 @@ X-Mailer: git-send-email $gitversion @@ -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) {

Loading…
Cancel
Save