From 10049807d37839d2742f30dcf9d23ea8a9b2cbc1 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Mon, 8 Sep 2025 11:53:37 +0200 Subject: [PATCH] fix(dnsdist): improve error when YAML is unsupported --- pdns/dnsdistdist/dnsdist-configuration-yaml.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ } -- 2.47.3