From a988cabec09c28ba11a0e46f0acdc564aa04baca Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 23 Nov 2023 01:23:20 +0100 Subject: Clarify error messages about missing configuration. --- src/lib/kdm_with_metadata.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/kdm_with_metadata.cc') 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) { -- cgit v1.2.3