projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
89547a4
)
Throw a more appropriate exception.
author
Carl Hetherington
<cth@carlh.net>
Mon, 13 Dec 2021 00:00:45 +0000
(
01:00
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 13 Dec 2021 21:45:55 +0000
(22:45 +0100)
src/lib/emailer.cc
patch
|
blob
|
history
diff --git
a/src/lib/emailer.cc
b/src/lib/emailer.cc
index 6ef23c3e0c03a3e20cd241df9453dddfea8501aa..7bed7ef973093939d5f293347981ec0ee396f73a 100644
(file)
--- a/
src/lib/emailer.cc
+++ b/
src/lib/emailer.cc
@@
-231,7
+231,7
@@
Emailer::send (string server, int port, EmailProtocol protocol, string user, str
auto const r = curl_easy_perform (curl);
if (r != CURLE_OK) {
- throw
KDMError (_("Failed to send email"), curl_easy_strerror
(r));
+ throw
NetworkError (_("Failed to send email"), curl_easy_strerror
(r));
}
curl_slist_free_all (recipients);