Skip to content

Commit

Permalink
Change URL seed error message
Browse files Browse the repository at this point in the history
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 qbittorrent#22119.
  • Loading branch information
HanabishiRecca authored Jan 10, 2025
1 parent f9f4b60 commit 68ecb13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/bittorrent/sessionimpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 68ecb13

Please sign in to comment.