mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
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:
@@ -6073,7 +6073,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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user