From: Pieter Lexis Date: Mon, 8 Sep 2025 09:53:37 +0000 (+0200) Subject: fix(dnsdist): improve error when YAML is unsupported X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=10049807d37839d2742f30dcf9d23ea8a9b2cbc1;p=thirdparty%2Fpdns.git fix(dnsdist): improve error when YAML is unsupported --- diff --git a/pdns/dnsdistdist/dnsdist-configuration-yaml.cc b/pdns/dnsdistdist/dnsdist-configuration-yaml.cc index f80d0ae3c5..3549541533 100644 --- a/pdns/dnsdistdist/dnsdist-configuration-yaml.cc +++ b/pdns/dnsdistdist/dnsdist-configuration-yaml.cc @@ -1245,7 +1245,7 @@ bool loadConfigurationFromFile(const std::string& fileName, [[maybe_unused]] boo return false; #else (void)fileName; - throw std::runtime_error("Unsupported YAML configuration"); + throw std::runtime_error("YAML configuration is not supported by this build of dnsdist"); #endif /* HAVE_YAML_CONFIGURATION */ }