Add a logging statement when doing a source check

This commit is contained in:
Simon Quigley 2025-02-08 18:27:48 -06:00
parent d334bdebd8
commit 6e978cc42c

View File

@ -225,6 +225,7 @@ bool WebServer::start_server(quint16 port) {
bool found_in_ppa = false;
for (auto spph : proposed.getPublishedSources("", "", std::nullopt, true, true, "", pkgconf->package->name, "", package_version)) {
found_in_ppa = true;
log->append(std::format("{}/{} found", pkgconf->package->name, package_version));
break;
}
if (!found_in_ppa) throw std::runtime_error("Not found in the PPA.");