From 68ecb13d1499c61a557f3c31a20e11e2db72c85a Mon Sep 17 00:00:00 2001 From: Hanabishi <13597663+HanabishiRecca@users.noreply.github.com> Date: Fri, 10 Jan 2025 10:31:28 +0500 Subject: [PATCH] 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. --- src/base/bittorrent/sessionimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/bittorrent/sessionimpl.cpp b/src/base/bittorrent/sessionimpl.cpp index be0d776f2..bfe0a5294 100644 --- a/src/base/bittorrent/sessionimpl.cpp +++ b/src/base/bittorrent/sessionimpl.cpp @@ -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); }