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.
This commit is contained in:
Hanabishi 2025-01-06 17:55:27 +00:00
commit bb1808104e

View file

@ -5965,7 +5965,7 @@ void SessionImpl::handleUrlSeedAlert(const lt::url_seed_alert *alert)
if (alert->error) 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())) .arg(torrent->name(), QString::fromUtf8(alert->server_url()), QString::fromStdString(alert->message()))
, Log::WARNING); , Log::WARNING);
} }