From b89875ea3790a977582bd2c1d5c595f33de8e6d1 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Sun, 3 Oct 2021 13:05:16 +0200 Subject: [PATCH] No longer print warning for page load failures caused by a user disconnect --- src/output/output.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/output/output.cpp b/src/output/output.cpp index 776e3fd9..14d9002c 100644 --- a/src/output/output.cpp +++ b/src/output/output.cpp @@ -806,8 +806,11 @@ namespace Mist{ } loadPageForKey(tid, keyNum + (getNextKey ? 1 : 0)); if (!curPage.count(tid) || !curPage[tid].mapped){ - WARN_MSG("Aborting seek to %" PRIu64 "ms in track %zu: not available.", pos, tid); - userSelect.erase(tid); + //Sometimes the page load fails because of a connection loss to the user. This is fine. + if (keepGoing()){ + WARN_MSG("Aborting seek to %" PRIu64 "ms in track %zu: not available.", pos, tid); + userSelect.erase(tid); + } return false; } Util::sortedPageInfo tmp;