summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-04-16 20:42:26 +0000
committerFedja Beader <fedja@protonmail.ch>2024-04-16 20:42:26 +0000
commit40b605c41542baf9b10a1a2b03af10e3baaa362f (patch)
treec493cdbd3c1ca94fc997a028fa0a0191f1b2234f
parent6e02a3cbe4c3e9faa9aab458bdf1c220eb7b4e32 (diff)
downloadmanaverse-40b605c41542baf9b10a1a2b03af10e3baaa362f.tar.gz
manaverse-40b605c41542baf9b10a1a2b03af10e3baaa362f.tar.bz2
manaverse-40b605c41542baf9b10a1a2b03af10e3baaa362f.tar.xz
manaverse-40b605c41542baf9b10a1a2b03af10e3baaa362f.zip
Stop log spam in case download errors out
See manaplus.log in https://git.themanaworld.org/specing/manaplus/-/jobs/168040#L3241 **** mana/plus!72
-rw-r--r--src/gui/windows/serverdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index 0b4574993..2a3ffc546 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -449,6 +449,8 @@ void ServerDialog::logic()
}
else if (mDownloadStatus == ServerDialogDownloadStatus::ERROR)
{
+ // prevent log spam:
+ mDownloadStatus = ServerDialogDownloadStatus::OVER;
// TRANSLATORS: servers dialog label
mDescription->setCaption(_("Error retreiving server list!"));
logger->log("Error: servers list updating error");