Skip to content

Commit 1bfb2e2

Browse files
committed
feat(file-list): folder refresh scheduler
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent 86f66cd commit 1bfb2e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/owncloud/android/operations/FolderRefreshScheduler.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class FolderRefreshScheduler(private val activity: FileDisplayActivity) {
6363
try {
6464
CheckEtagRemoteOperation(currentDir.remotePath, localEtag).execute(currentUser, activity)
6565
} catch (e: Exception) {
66-
Log_OC.e(TAG, "eTag poll: could not create client — ${e.message}")
66+
Log_OC.e(TAG, e.message)
6767
null
6868
}
6969
} ?: return
@@ -79,7 +79,7 @@ class FolderRefreshScheduler(private val activity: FileDisplayActivity) {
7979
}
8080

8181
RemoteOperationResult.ResultCode.FILE_NOT_FOUND -> {
82-
Log_OC.w(TAG, "eTag poll → directory not found on server, refreshing to handle deletion")
82+
Log_OC.w(TAG, "eTag poll → directory not found on server")
8383
activity.startSyncFolderOperation(currentDir, ignoreETag = true)
8484
}
8585

0 commit comments

Comments
 (0)