summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-04-05 20:18:45 +0200
committerFedja Beader <fedja@protonmail.ch>2024-04-05 20:19:27 +0200
commit04ccd34b986ee6d6358e86c5d9d7bbbf3d7aaca5 (patch)
treebfb04ca129a372cddfc4d061aef1d4efe8bc58ae
parent034b4f3a907e2750dc8b33c8378b96ddc2f1b2e5 (diff)
downloadmanaplus-04ccd34b986ee6d6358e86c5d9d7bbbf3d7aaca5.tar.gz
manaplus-04ccd34b986ee6d6358e86c5d9d7bbbf3d7aaca5.tar.bz2
manaplus-04ccd34b986ee6d6358e86c5d9d7bbbf3d7aaca5.tar.xz
manaplus-04ccd34b986ee6d6358e86c5d9d7bbbf3d7aaca5.zip
Test stopping log spam
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--src/gui/windows/serverdialog.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e97329444..e0c39e61e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -213,7 +213,7 @@ gcc-10_default:
- ./tools/ci/jobs/any_compiler.sh --enable-werror
- ./tools/ci/scripts/runtests.sh
- ./tools/ci/scripts/rundyecmd.sh
- image: debian:bullseye
+ #image: debian:bullseye
<<: *job-push
variables:
LOGFILE: gcc10.log
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");