summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/email.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/email.cc b/src/lib/email.cc
index 8557b40e0..e2beb8f37 100644
--- a/src/lib/email.cc
+++ b/src/lib/email.cc
@@ -236,7 +236,7 @@ Email::send(string server, int port, EmailProtocol protocol, string user, string
auto const r = curl_easy_perform (curl);
if (r != CURLE_OK) {
- throw NetworkError (_("Failed to send email"), string(curl_easy_strerror(r)));
+ throw NetworkError(_("Failed to send email"), String::compose("%1 sending to %2:%3", curl_easy_strerror(r), server, port));
}
curl_slist_free_all (recipients);