summaryrefslogtreecommitdiff
path: root/src/lib/kdm_with_metadata.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-11-23 01:23:20 +0100
committerCarl Hetherington <cth@carlh.net>2023-11-23 01:23:20 +0100
commita988cabec09c28ba11a0e46f0acdc564aa04baca (patch)
tree2e5cd0e1dc2710d30e8055f836b55a6929c87df4 /src/lib/kdm_with_metadata.cc
parent38643ec631074ae628a4c414a1e7a3462aba19ed (diff)
Clarify error messages about missing configuration.
Diffstat (limited to 'src/lib/kdm_with_metadata.cc')
-rw-r--r--src/lib/kdm_with_metadata.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/kdm_with_metadata.cc b/src/lib/kdm_with_metadata.cc
index 86573f43b..10054f01e 100644
--- a/src/lib/kdm_with_metadata.cc
+++ b/src/lib/kdm_with_metadata.cc
@@ -210,11 +210,11 @@ send_emails (
auto config = Config::instance ();
if (config->mail_server().empty()) {
- throw NetworkError (_("No mail server configured in preferences"));
+ throw MissingConfigurationError(_("No outgoing mail server configured in the Email tab of preferences"));
}
if (config->kdm_from().empty()) {
- throw NetworkError(_("No KDM from address configured in preferences"));
+ throw MissingConfigurationError(_("No from address configured in the KDM Email tab of preferences"));
}
for (auto const& kdms_for_cinema: kdms) {