From 73db636361f16367269fb4787bf1612f4b1d61f7 Mon Sep 17 00:00:00 2001 From: alex-z Date: Tue, 2 Nov 2021 16:21:06 +0200 Subject: Added more logs to 'postProcessLocalNew'. Signed-off-by: alex-z --- src/libsync/discovery.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libsync/discovery.cpp') diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index ee0ce489c..d8b894d0f 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -1043,6 +1043,12 @@ void ProcessDirectoryJob::processFileAnalyzeLocalInfo( if (isOnlineOnlyFolder) { // if we're wiping a folder, we will only get this function called once and will wipe a folder along with it's files and also display one error in GUI qCInfo(lcDisco) << "Wiping virtual folder without db entry for" << path._local; + if (isfolderPlaceHolderAvailabilityOnlineOnly && folderPlaceHolderAvailability.isValid()) { + qCInfo(lcDisco) << "*folderPlaceHolderAvailability:" << *folderPlaceHolderAvailability; + } + if (isFolderPinStateOnlineOnly && folderPinState.isValid()) { + qCInfo(lcDisco) << "*folderPinState:" << *folderPinState; + } emit _discoveryData->addErrorToGui(SyncFileItem::SoftError, tr("Conflict when uploading a folder. It's going to get cleared!"), path._local); } else { qCInfo(lcDisco) << "Wiping virtual file without db entry for" << path._local; -- cgit v1.2.3