From: Jari Aalto Date: Sun, 14 Mar 2010 15:15:33 +0000 (+0200) Subject: git-send-email.perl: improve error message in send_message() X-Git-Tag: v1.7.1-rc0~24^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e5afb3a6f96e4d3a8733fbeee2c3cb44829e386b;p=git.git git-send-email.perl: improve error message in send_message() Signed-off-by: Jari Aalto Signed-off-by: Junio C Hamano --- diff --git a/git-send-email.perl b/git-send-email.perl index e05455f74..221506c3e 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) {