Skip to content

Commit

Permalink
ixfrdist: Fix Coverity CID 1504137: Uncaught exception
Browse files Browse the repository at this point in the history
  • Loading branch information
rgacogne committed Aug 16, 2023
1 parent 014516a commit f84b2bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pdns/ixfrdist.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,10 @@ static std::optional<IXFRDistConfiguration> parseConfiguration(int argc, char**
g_log<<Logger::Error<<"Could not set the webserver ACL: "<<ne.reason<<endl;
had_error = true;
}
catch (const std::exception& exp) {
g_log<<Logger::Error<<"Could not set the webserver ACL: "<<exp.what()<<endl;
had_error = true;
}

if (config["webserver-loglevel"]) {
configuration.wsLogLevel = config["webserver-loglevel"].as<string>();
Expand Down

0 comments on commit f84b2bc

Please sign in to comment.