Change URL seed error message

Current URL seed error message assumes that only possible error is DNS lookup failure, which is not true.
So replace it with a more generic message. Real reason is provided by the 'Error:' part.

PR #22119.
This commit is contained in:
Hanabishi 2025-01-10 10:31:28 +05:00 committed by GitHub
parent f9f4b60b83
commit 68ecb13d14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6073,7 +6073,7 @@ void SessionImpl::handleUrlSeedAlert(const lt::url_seed_alert *alert)
if (alert->error)
{
LogMsg(tr("URL seed DNS lookup failed. Torrent: \"%1\". URL: \"%2\". Error: \"%3\"")
LogMsg(tr("URL seed connection failed. Torrent: \"%1\". URL: \"%2\". Error: \"%3\"")
.arg(torrent->name(), QString::fromUtf8(alert->server_url()), QString::fromStdString(alert->message()))
, Log::WARNING);
}