summaryrefslogtreecommitdiff
path: root/src/lib/email.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-10-14 23:10:32 +0200
committerCarl Hetherington <cth@carlh.net>2024-10-14 23:10:32 +0200
commitfd192ff95e34630158a4ceb08e65099120629a3b (patch)
tree0ff728c3548440d9d63365e1c7d3edc739f25187 /src/lib/email.cc
parentf395c664aedb5bf022ddcde91c6e0c6531209a5d (diff)
parent2c26dd2573977a940d003a58f2ccd408a5657aab (diff)
Merge remote-tracking branch 'origin/main' into v2.17.x
Diffstat (limited to 'src/lib/email.cc')
-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 6b4012c22..7a6e58d91 100644
--- a/src/lib/email.cc
+++ b/src/lib/email.cc
@@ -237,7 +237,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);