diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-07 19:35:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-07 19:35:42 +0100 |
| commit | 5c9e39df078aab9f03ae186d0758d4d710f90bab (patch) | |
| tree | 24ba2ec0e0d1e0f55411efed26396ad93f6879a0 /src/lib/emailer.cc | |
| parent | 173fc4c4ca837cbea881efc361604b82806a1807 (diff) | |
Give better errors when incorrect KDMs are used (#1326).
Diffstat (limited to 'src/lib/emailer.cc')
| -rw-r--r-- | src/lib/emailer.cc | 2 |
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); |
