summaryrefslogtreecommitdiff
path: root/src/lib/emailer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-07 19:35:42 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-07 19:35:42 +0100
commit5c9e39df078aab9f03ae186d0758d4d710f90bab (patch)
tree24ba2ec0e0d1e0f55411efed26396ad93f6879a0 /src/lib/emailer.cc
parent173fc4c4ca837cbea881efc361604b82806a1807 (diff)
Give better errors when incorrect KDMs are used (#1326).
Diffstat (limited to 'src/lib/emailer.cc')
-rw-r--r--src/lib/emailer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/emailer.cc b/src/lib/emailer.cc
index 7edad20b1..57b06ed61 100644
--- a/src/lib/emailer.cc
+++ b/src/lib/emailer.cc
@@ -219,7 +219,7 @@ Emailer::send (string server, int port, string user, string password)
CURLcode const r = curl_easy_perform (curl);
if (r != CURLE_OK) {
- throw KDMError (String::compose (_("Failed to send email (%1)"), curl_easy_strerror (r)));
+ throw KDMError (_("Failed to send email"), curl_easy_strerror (r));
}
curl_slist_free_all (recipients);